Merge pull request #228 from lanurmi/message-prefix

Prefix "Unknown compiler version ..." messages with "boost:".
This commit is contained in:
jzmaddock
2018-08-02 18:29:17 +01:00
committed by GitHub
13 changed files with 18 additions and 18 deletions

View File

@ -19,9 +19,9 @@
// last known compiler version: // last known compiler version:
#if (__BORLANDC__ > 0x613) #if (__BORLANDC__ > 0x613)
//# if defined(BOOST_ASSERT_CONFIG) //# if defined(BOOST_ASSERT_CONFIG)
# error "Unknown compiler version - please run the configure tests and report the results" # error "boost: Unknown compiler version - please run the configure tests and report the results"
//# else //# else
//# pragma message( "Unknown compiler version - please run the configure tests and report the results") //# pragma message( "boost: Unknown compiler version - please run the configure tests and report the results")
//# endif //# endif
#elif (__BORLANDC__ == 0x600) #elif (__BORLANDC__ == 0x600)
# error "CBuilderX preview compiler is no longer supported" # error "CBuilderX preview compiler is no longer supported"

View File

@ -22,9 +22,9 @@
// last known and checked version is 0x621 // last known and checked version is 0x621
#if (__CODEGEARC__ > 0x621) #if (__CODEGEARC__ > 0x621)
# if defined(BOOST_ASSERT_CONFIG) # if defined(BOOST_ASSERT_CONFIG)
# error "Unknown compiler version - please run the configure tests and report the results" # error "boost: Unknown compiler version - please run the configure tests and report the results"
# else # else
# pragma message( "Unknown compiler version - please run the configure tests and report the results") # pragma message( "boost: Unknown compiler version - please run the configure tests and report the results")
# endif # endif
#endif #endif

View File

@ -50,7 +50,7 @@
// last known and checked version is 4245: // last known and checked version is 4245:
#if (__COMO_VERSION__ > 4245) #if (__COMO_VERSION__ > 4245)
# if defined(BOOST_ASSERT_CONFIG) # if defined(BOOST_ASSERT_CONFIG)
# error "Unknown compiler version - please run the configure tests and report the results" # error "boost: Unknown compiler version - please run the configure tests and report the results"
# endif # endif
#endif #endif

View File

@ -135,6 +135,6 @@
// last known and checked version is ...: // last known and checked version is ...:
#if (__DMC__ > 0x848) #if (__DMC__ > 0x848)
# if defined(BOOST_ASSERT_CONFIG) # if defined(BOOST_ASSERT_CONFIG)
# error "Unknown compiler version - please run the configure tests and report the results" # error "boost: Unknown compiler version - please run the configure tests and report the results"
# endif # endif
#endif #endif

View File

@ -353,7 +353,7 @@
# else # else
// we don't emit warnings here anymore since there are no defect macros defined for // we don't emit warnings here anymore since there are no defect macros defined for
// gcc post 3.4, so any failures are gcc regressions... // gcc post 3.4, so any failures are gcc regressions...
//# warning "Unknown compiler version - please run the configure tests and report the results" //# warning "boost: Unknown compiler version - please run the configure tests and report the results"
# endif # endif
#endif #endif

View File

@ -21,7 +21,7 @@
// last known and checked version is 0: // last known and checked version is 0:
#if (__ghs > 0) #if (__ghs > 0)
# if defined(BOOST_ASSERT_CONFIG) # if defined(BOOST_ASSERT_CONFIG)
# error "Unknown compiler version - please run the configure tests and report the results" # error "boost: Unknown compiler version - please run the configure tests and report the results"
# endif # endif
#endif #endif

View File

@ -142,6 +142,6 @@
// last known and checked version for PA-RISC is 38000 // last known and checked version for PA-RISC is 38000
#if ((__HP_aCC > 61300) || ((__HP_aCC > 38000) && defined(__hpxstd98))) #if ((__HP_aCC > 61300) || ((__HP_aCC > 38000) && defined(__hpxstd98)))
# if defined(BOOST_ASSERT_CONFIG) # if defined(BOOST_ASSERT_CONFIG)
# error "Unknown compiler version - please run the configure tests and report the results" # error "boost: Unknown compiler version - please run the configure tests and report the results"
# endif # endif
#endif #endif

View File

@ -558,7 +558,7 @@ template<> struct assert_intrinsic_wchar_t<unsigned short> {};
// We don't emit this warning any more, since we have so few // We don't emit this warning any more, since we have so few
// defect macros set anyway (just the one). // defect macros set anyway (just the one).
// //
//# pragma message("Unknown compiler version - please run the configure tests and report the results") //# pragma message("boost: Unknown compiler version - please run the configure tests and report the results")
# endif # endif
#endif #endif

View File

@ -25,7 +25,7 @@
// last known and checked version is 4001: // last known and checked version is 4001:
#if (__KCC_VERSION > 4001) #if (__KCC_VERSION > 4001)
# if defined(BOOST_ASSERT_CONFIG) # if defined(BOOST_ASSERT_CONFIG)
# error "Unknown compiler version - please run the configure tests and report the results" # error "boost: Unknown compiler version - please run the configure tests and report the results"
# endif # endif
#endif #endif

View File

@ -183,7 +183,7 @@
// last known and checked version: // last known and checked version:
#if (__MWERKS__ > 0x3205) #if (__MWERKS__ > 0x3205)
# if defined(BOOST_ASSERT_CONFIG) # if defined(BOOST_ASSERT_CONFIG)
# error "Unknown compiler version - please run the configure tests and report the results" # error "boost: Unknown compiler version - please run the configure tests and report the results"
# endif # endif
#endif #endif

View File

@ -130,7 +130,7 @@
// last known and checked version is 0x890: // last known and checked version is 0x890:
#if (MPW_CPLUS > 0x890) #if (MPW_CPLUS > 0x890)
# if defined(BOOST_ASSERT_CONFIG) # if defined(BOOST_ASSERT_CONFIG)
# error "Unknown compiler version - please run the configure tests and report the results" # error "boost: Unknown compiler version - please run the configure tests and report the results"
# endif # endif
#endif #endif

View File

@ -56,7 +56,7 @@
// last known and checked version is 1210: // last known and checked version is 1210:
#if (__IBMCPP__ > 1210) #if (__IBMCPP__ > 1210)
# if defined(BOOST_ASSERT_CONFIG) # if defined(BOOST_ASSERT_CONFIG)
# error "Unknown compiler version - please run the configure tests and report the results" # error "boost: Unknown compiler version - please run the configure tests and report the results"
# endif # endif
#endif #endif

View File

@ -284,9 +284,9 @@
# if _MSC_VER < 1400 # if _MSC_VER < 1400
// Note: I'm not aware of any CE compiler with version 13xx // Note: I'm not aware of any CE compiler with version 13xx
# if defined(BOOST_ASSERT_CONFIG) # if defined(BOOST_ASSERT_CONFIG)
# error "Unknown EVC++ compiler version - please run the configure tests and report the results" # error "boost: Unknown EVC++ compiler version - please run the configure tests and report the results"
# else # else
# pragma message("Unknown EVC++ compiler version - please run the configure tests and report the results") # pragma message("boost: Unknown EVC++ compiler version - please run the configure tests and report the results")
# endif # endif
# elif _MSC_VER < 1500 # elif _MSC_VER < 1500
# define BOOST_COMPILER_VERSION evc8 # define BOOST_COMPILER_VERSION evc8
@ -302,9 +302,9 @@
# define BOOST_COMPILER_VERSION evc14 # define BOOST_COMPILER_VERSION evc14
# else # else
# if defined(BOOST_ASSERT_CONFIG) # if defined(BOOST_ASSERT_CONFIG)
# error "Unknown EVC++ compiler version - please run the configure tests and report the results" # error "boost: Unknown EVC++ compiler version - please run the configure tests and report the results"
# else # else
# pragma message("Unknown EVC++ compiler version - please run the configure tests and report the results") # pragma message("boost: Unknown EVC++ compiler version - please run the configure tests and report the results")
# endif # endif
# endif # endif
# else # else