- Timestamp:
- Apr 5, 2024 8:50:25 AM (10 months ago)
- Location:
- trunk/src/libs/libxml2-2.12.6
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libs/libxml2-2.12.6/include/libxml/xmlversion.h
r104106 r104169 1 1 /* 2 * Summary: compile-time version information s3 * Description: compile-time version information sfor the XML library2 * Summary: compile-time version information 3 * Description: compile-time version information for the XML library 4 4 * 5 5 * Copy: See Copyright for the status of this software. … … 22 22 */ 23 23 #ifndef LIBXML2_COMPILING_MSCCDEF 24 XMLPUBFUN void XMLCALLxmlCheckVersion(int version);24 XMLPUBFUN void xmlCheckVersion(int version); 25 25 #endif /* LIBXML2_COMPILING_MSCCDEF */ 26 26 … … 37 37 * the version number: 1.2.3 value is 10203 38 38 */ 39 #define LIBXML_VERSION 2 091439 #define LIBXML_VERSION 21206 40 40 41 41 /** … … 44 44 * the version number string, 1.2.3 value is "10203" 45 45 */ 46 #define LIBXML_VERSION_STRING "2 0914"46 #define LIBXML_VERSION_STRING "21206" 47 47 48 48 /** 49 49 * LIBXML_VERSION_EXTRA: 50 50 * 51 * extra version information, used to show a CVS compilation52 */ 53 #define LIBXML_VERSION_EXTRA " -GITCVE-2016-1834-21-g502f6a6"51 * extra version information, used to show a git commit description 52 */ 53 #define LIBXML_VERSION_EXTRA "" 54 54 55 55 /** … … 59 59 * the version the software has been compiled against 60 60 */ 61 #define LIBXML_TEST_VERSION xmlCheckVersion(2 0914);61 #define LIBXML_TEST_VERSION xmlCheckVersion(21206); 62 62 63 63 #ifndef VMS … … 92 92 */ 93 93 #if 1 94 #if defined(_REENTRANT) || defined(__MT__) || \95 (defined(_POSIX_C_SOURCE) && (_POSIX_C_SOURCE - 0 >= 199506L))96 94 #define LIBXML_THREAD_ENABLED 97 95 #endif 98 #endif99 96 100 97 /** … … 184 181 * Whether the HTTP support is configured in 185 182 */ 186 #if 0183 #if 1 187 184 #define LIBXML_HTTP_ENABLED 188 185 #endif … … 211 208 * Whether the deprecated APIs are compiled in for compatibility 212 209 */ 213 #if 1210 #if 0 214 211 #define LIBXML_LEGACY_ENABLED 215 212 #endif … … 234 231 235 232 /** 236 * LIBXML_DOCB_ENABLED:237 *238 * Whether the SGML Docbook support is configured in239 */240 #if 1241 #define LIBXML_DOCB_ENABLED242 #endif243 244 /**245 233 * LIBXML_XPATH_ENABLED: 246 234 * … … 261 249 262 250 /** 251 * LIBXML_XPTR_LOCS_ENABLED: 252 * 253 * Whether support for XPointer locations is configured in 254 */ 255 #if 0 256 #define LIBXML_XPTR_LOCS_ENABLED 257 #endif 258 259 /** 263 260 * LIBXML_XINCLUDE_ENABLED: 264 261 * … … 274 271 * Whether iconv support is available 275 272 */ 276 #if ndef RT_OS_WINDOWS273 #if 1 277 274 #define LIBXML_ICONV_ENABLED 278 275 #endif … … 317 314 * LIBXML_DEBUG_RUNTIME: 318 315 * 319 * Whether the runtime debugging is configured in316 * Removed 320 317 */ 321 318 #if 0 … … 354 351 * 355 352 * Whether the formal expressions interfaces are compiled in 356 */ 357 #if 1 353 * 354 * This code is unused and disabled unconditionally for now. 355 */ 356 #if 0 358 357 #define LIBXML_EXPR_ENABLED 359 358 #endif … … 382 381 * Whether the module interfaces are compiled in 383 382 */ 384 #if 0383 #if 1 385 384 #define LIBXML_MODULES_ENABLED 386 385 /** … … 411 410 412 411 #ifdef __GNUC__ 413 #ifdef HAVE_ANSIDECL_H 414 #include <ansidecl.h> 415 #endif 416 417 /** 418 * ATTRIBUTE_UNUSED: 419 * 420 * Macro used to signal to GCC unused function parameters 421 */ 412 /** DOC_DISABLE */ 422 413 423 414 #ifndef ATTRIBUTE_UNUSED … … 428 419 # endif 429 420 #endif 430 431 /**432 * LIBXML_ATTR_ALLOC_SIZE:433 *434 * Macro used to indicate to GCC this is an allocator function435 */436 421 437 422 #ifndef LIBXML_ATTR_ALLOC_SIZE … … 445 430 #endif 446 431 447 /**448 * LIBXML_ATTR_FORMAT:449 *450 * Macro used to indicate to GCC the parameter are printf like451 */452 453 432 #ifndef LIBXML_ATTR_FORMAT 454 433 # if ((__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3))) … … 461 440 #endif 462 441 442 #ifndef XML_DEPRECATED 443 # if defined (IN_LIBXML) || (__GNUC__ * 100 + __GNUC_MINOR__ < 301) 444 # define XML_DEPRECATED 445 /* Available since at least GCC 3.1 */ 446 # else 447 # define XML_DEPRECATED __attribute__((deprecated)) 448 # endif 449 #endif 450 451 #if defined(__clang__) || (__GNUC__ * 100 + __GNUC_MINOR__ >= 406) 452 #if defined(__clang__) || (__GNUC__ * 100 + __GNUC_MINOR__ >= 800) 453 #define XML_IGNORE_FPTR_CAST_WARNINGS \ 454 _Pragma("GCC diagnostic push") \ 455 _Pragma("GCC diagnostic ignored \"-Wpedantic\"") \ 456 _Pragma("GCC diagnostic ignored \"-Wcast-function-type\"") 457 #else 458 #define XML_IGNORE_FPTR_CAST_WARNINGS \ 459 _Pragma("GCC diagnostic push") \ 460 _Pragma("GCC diagnostic ignored \"-Wpedantic\"") 461 #endif 462 #define XML_POP_WARNINGS \ 463 _Pragma("GCC diagnostic pop") 464 #else 465 #define XML_IGNORE_FPTR_CAST_WARNINGS 466 #define XML_POP_WARNINGS 467 #endif 468 463 469 #else /* ! __GNUC__ */ 464 /**465 * ATTRIBUTE_UNUSED:466 *467 * Macro used to signal to GCC unused function parameters468 */469 470 #define ATTRIBUTE_UNUSED 470 /**471 * LIBXML_ATTR_ALLOC_SIZE:472 *473 * Macro used to indicate to GCC this is an allocator function474 */475 471 #define LIBXML_ATTR_ALLOC_SIZE(x) 476 /**477 * LIBXML_ATTR_FORMAT:478 *479 * Macro used to indicate to GCC the parameter are printf like480 */481 472 #define LIBXML_ATTR_FORMAT(fmt,args) 473 #ifndef XML_DEPRECATED 474 # if defined (IN_LIBXML) || !defined (_MSC_VER) 475 # define XML_DEPRECATED 476 /* Available since Visual Studio 2005 */ 477 # elif defined (_MSC_VER) && (_MSC_VER >= 1400) 478 # define XML_DEPRECATED __declspec(deprecated) 479 # endif 480 #endif 481 #if defined (_MSC_VER) && (_MSC_VER >= 1400) 482 # define XML_IGNORE_FPTR_CAST_WARNINGS __pragma(warning(push)) 483 #else 484 # define XML_IGNORE_FPTR_CAST_WARNINGS 485 #endif 486 #ifndef XML_POP_WARNINGS 487 # if defined (_MSC_VER) && (_MSC_VER >= 1400) 488 # define XML_POP_WARNINGS __pragma(warning(pop)) 489 # else 490 # define XML_POP_WARNINGS 491 # endif 492 #endif 482 493 #endif /* __GNUC__ */ 494 495 #define XML_NO_ATTR 496 497 #ifdef LIBXML_THREAD_ENABLED 498 #define XML_DECLARE_GLOBAL(name, type, attrs) \ 499 attrs XMLPUBFUN type *__##name(void); 500 #define XML_GLOBAL_MACRO(name) (*__##name()) 501 #else 502 #define XML_DECLARE_GLOBAL(name, type, attrs) \ 503 attrs XMLPUBVAR type name; 504 #endif 483 505 484 506 #ifdef __cplusplus -
trunk/src/libs/libxml2-2.12.6/libxml.h
r104106 r104169 77 77 #endif 78 78 79 #endif /* #if defined(macintosh) */ 79 80 #endif /* ! __XML_LIBXML_H__ */
Note:
See TracChangeset
for help on using the changeset viewer.