cxxmcp 1.2.8
C++ MCP SDK
Loading...
Searching...
No Matches
config.hpp File Reference

Public SDK configuration and compatibility markers. More...

Go to the source code of this file.

Macros

#define CXXMCP_SDK_MIN_CXX_STANDARD   201703L
 Minimum C++ language level supported by public SDK headers.
 
#define CXXMCP_DEPRECATED(message)
 
#define CXXMCP_COMPAT_DEPRECATED(message)
 Marks compatibility-only APIs as deprecated when explicitly enabled.
 

Detailed Description

Public SDK configuration and compatibility markers.

Macro Definition Documentation

◆ CXXMCP_COMPAT_DEPRECATED

#define CXXMCP_COMPAT_DEPRECATED (   message)

Marks compatibility-only APIs as deprecated when explicitly enabled.

Compatibility entry points stay warning-free by default so consumers using warnings-as-errors, including MSVC C4996 via /WX, can keep building while migrating. Define CXXMCP_ENABLE_COMPAT_DEPRECATION_WARNINGS to opt into the migration warnings.

◆ CXXMCP_SDK_MIN_CXX_STANDARD

#define CXXMCP_SDK_MIN_CXX_STANDARD   201703L

Minimum C++ language level supported by public SDK headers.

Core SDK headers and exported package targets are expected to compile as C++17 by default. Optional runtime tools may require a newer language mode.