Red Hat Bugzilla – Bug 153093
boost warns that gcc 4.0.0 is an unknown compiler
Last modified: 2013-08-09 01:47:36 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050330
Description of problem:
boost headers warn that it doesn't know about gcc 4.0.0
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. compile somethat that uses boost
Actual Results: /usr/include/boost/compiler/gcc.hpp:92:7 : warning: #warning "Unknown compiler version - please run the configure tests and report the results"
Expected Results: no warning
it's purely cosmetic as it works fine
I'm assuming this is with boost-1.32.0-5.
Fixing this is not hard: I've attached the patch.
I'm having problems building 1.32.0 with gcc-4.0 which have kept this
patch out of the boost rpms. Although what you are doing may be working,
rebuilding all of boost with gcc-4.0 is not. Use this patch with care.
Created attachment 112595 [details]
gcc-4.x boost patch
Does not allow full gcc-4 rebuild of the src rpm.
some people (me) like to use -Werror when compiling; this is a blocker for
I've rebuilt the package, with the patch, on gcc-4.0.0-5 (x86_64), so it appears
the problem has been fixed. can we get a gcc4 happy boost for fc4?
*** Bug 157769 has been marked as a duplicate of this bug. ***
Fixed in boost-1.32.0-6.