[Boost-bugs] [Boost C++ Libraries] #4182: macro redefinition warnings

Subject: [Boost-bugs] [Boost C++ Libraries] #4182: macro redefinition warnings
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-05-03 21:55:30


#4182: macro redefinition warnings
----------------------------------+-----------------------------------------
 Reporter: olafvdspek@… | Owner:
     Type: Bugs | Status: new
Milestone: Boost 1.43.0 | Component: None
  Version: Boost 1.43.0 | Severity: Problem
 Keywords: |
----------------------------------+-----------------------------------------
 {{{
 #include <boost/algorithm/string.hpp>
 #include <cstdint>

 int main()
 {
         return 0;
 }

 1>------ Build started: Project: Test, Configuration: Debug Win32 ------
 1> Test.cpp
 1>c:\program files (x86)\microsoft visual studio
 10.0\vc\include\stdint.h(116): warning C4005: 'INT8_C' : macro
 redefinition
 1> c:\vc\include\boost\cstdint.hpp(376) : see previous definition
 of 'INT8_C'
 1>c:\program files (x86)\microsoft visual studio
 10.0\vc\include\stdint.h(117): warning C4005: 'INT16_C' : macro
 redefinition
 1> c:\vc\include\boost\cstdint.hpp(377) : see previous definition
 of 'INT16_C'
 1>c:\program files (x86)\microsoft visual studio
 10.0\vc\include\stdint.h(118): warning C4005: 'INT32_C' : macro
 redefinition
 1> c:\vc\include\boost\cstdint.hpp(378) : see previous definition
 of 'INT32_C'
 1>c:\program files (x86)\microsoft visual studio
 10.0\vc\include\stdint.h(120): warning C4005: 'UINT8_C' : macro
 redefinition
 1> c:\vc\include\boost\cstdint.hpp(384) : see previous definition
 of 'UINT8_C'
 1>c:\program files (x86)\microsoft visual studio
 10.0\vc\include\stdint.h(121): warning C4005: 'UINT16_C' : macro
 redefinition
 1> c:\vc\include\boost\cstdint.hpp(386) : see previous definition
 of 'UINT16_C'
 1>c:\program files (x86)\microsoft visual studio
 10.0\vc\include\stdint.h(122): warning C4005: 'UINT32_C' : macro
 redefinition
 1> c:\vc\include\boost\cstdint.hpp(387) : see previous definition
 of 'UINT32_C'
 1>c:\program files (x86)\microsoft visual studio
 10.0\vc\include\stdint.h(165): warning C4005: 'INT64_C' : macro
 redefinition
 1> c:\vc\include\boost\cstdint.hpp(379) : see previous definition
 of 'INT64_C'
 1>c:\program files (x86)\microsoft visual studio
 10.0\vc\include\stdint.h(166): warning C4005: 'UINT64_C' : macro
 redefinition
 1> c:\vc\include\boost\cstdint.hpp(388) : see previous definition
 of 'UINT64_C'
 1>c:\program files (x86)\microsoft visual studio
 10.0\vc\include\stdint.h(167): warning C4005: 'INTMAX_C' : macro
 redefinition
 1> c:\vc\include\boost\cstdint.hpp(389) : see previous definition
 of 'INTMAX_C'
 1>c:\program files (x86)\microsoft visual studio
 10.0\vc\include\stdint.h(168): warning C4005: 'UINTMAX_C' : macro
 redefinition
 1> c:\vc\include\boost\cstdint.hpp(390) : see previous definition
 of 'UINTMAX_C'
 1> Test.vcxproj -> C:\Users\Olaf\Documents\Visual Studio
 2010\Projects\Test\Debug\Test.exe
 ========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped
 ==========
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4182>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:03 UTC