Bug 153093

Summary: boost warns that gcc 4.0.0 is an unknown compiler
Product: [Fedora] Fedora Reporter: Caolan McNamara <caolanm>
Component: boostAssignee: Benjamin Kosnik <bkoz>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: medium    
Version: rawhideCC: avi, mnewsome, yuubyou+rhbz
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 1.32 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-08-13 20:01:10 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 136450    
Attachments:
Description Flags
gcc-4.x boost patch none

Description Caolan McNamara 2005-04-01 14:52:40 UTC
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):
boost-1.32.0-3

How reproducible:
Always

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 18:44:37 UTC
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 18:45:46 UTC
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 09:43:50 UTC
some people (me) like to use -Werror when compiling; this is a blocker for    
them.   
 

Comment 4 Avi Kivity 2005-05-16 11:26:29 UTC
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 15:15:12 UTC
*** Bug 157769 has been marked as a duplicate of this bug. ***

Comment 7 Benjamin Kosnik 2005-05-24 16:53:02 UTC
Fixed in boost-1.32.0-6.

Comment 8 Avi Kivity 2005-05-29 06:40:40 UTC
verified.