Bug 153093 - boost warns that gcc 4.0.0 is an unknown compiler
boost warns that gcc 4.0.0 is an unknown compiler
Product: Fedora
Classification: Fedora
Component: boost (Show other bugs)
All Linux
medium Severity low
: ---
: ---
Assigned To: Benjamin Kosnik
: 157769 (view as bug list)
Depends On:
Blocks: FC4Blocker
  Show dependency treegraph
Reported: 2005-04-01 09:52 EST by Caolan McNamara
Modified: 2013-08-09 01:47 EDT (History)
3 users (show)

See Also:
Fixed In Version: 1.32
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-08-13 16:01:10 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
gcc-4.x boost patch (843 bytes, patch)
2005-04-01 13:45 EST, Benjamin Kosnik
no flags Details | Diff

  None (edit)
Description Caolan McNamara 2005-04-01 09:52:40 EST
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):

How reproducible:

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

Additional info:

it's purely cosmetic as it works fine
Comment 1 Benjamin Kosnik 2005-04-01 13:44:37 EST
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.
Comment 2 Benjamin Kosnik 2005-04-01 13:45:46 EST
Created attachment 112595 [details]
gcc-4.x boost patch

Does not allow full gcc-4 rebuild of the src rpm.
Comment 3 Avi Kivity 2005-05-15 05:43:50 EDT
some people (me) like to use -Werror when compiling; this is a blocker for    
Comment 4 Avi Kivity 2005-05-16 07:26:29 EDT
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?
Comment 6 Benjamin Kosnik 2005-05-24 11:15:12 EDT
*** Bug 157769 has been marked as a duplicate of this bug. ***
Comment 7 Benjamin Kosnik 2005-05-24 12:53:02 EDT
Fixed in boost-1.32.0-6.
Comment 8 Avi Kivity 2005-05-29 02:40:40 EDT

Note You need to log in before you can comment on or make changes to this bug.