|
Boost-Commit : |
From: ramey_at_[hidden]
Date: 2008-03-27 13:11:24
Author: ramey
Date: 2008-03-27 13:11:23 EDT (Thu, 27 Mar 2008)
New Revision: 43882
URL: http://svn.boost.org/trac/boost/changeset/43882
Log:
tweaks to sneak past PGI compiler error message
Text files modified:
trunk/boost/static_warning.hpp | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
Modified: trunk/boost/static_warning.hpp
==============================================================================
--- trunk/boost/static_warning.hpp (original)
+++ trunk/boost/static_warning.hpp 2008-03-27 13:11:23 EDT (Thu, 27 Mar 2008)
@@ -76,9 +76,10 @@
# endif
//------------------Configure-------------------------------------------------//
-
# if defined(__BORLANDC__) && (__BORLANDC__ >= 0x600)
# define BOOST_HAS_DESCRIPTIVE_UNREFERENCED_VARIABLE_WARNING
+# elif defined(__PGI)
+# define BOOST_HAS_DESCRIPTIVE_DIVIDE_BY_ZERO_WARNING
# elif defined(__GNUC__) && !defined(BOOST_INTEL) // && (__GNUC__ * 100 + __GNUC_MINOR__ <= 302)
# define BOOST_HAS_DESCRIPTIVE_DIVIDE_BY_ZERO_WARNING
# elif defined(__DECCXX) // for Tru64
@@ -87,7 +88,7 @@
# define BOOST_HAS_DESCRIPTIVE_RETURNING_ADDRESS_OF_TEMPORARY_WARNING
# elif defined(BOOST_MSVC) // && (BOOST_MSVC < 1300)
# define BOOST_NO_PREDEFINED_LINE_MACRO
-# pragma warning(disable:4094) // C4094: untagged 'stuct' declared no symbols
+# pragma warning(disable:4094) // C4094: untagged 'struct' declared no symbols
#endif
//------------------Helper templates------------------------------------------//
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk