bugCERTI - Bugs: bug #23538, Lots of warning when compiling...

 
 

bug #23538: Lots of warning when compiling with gcc version 4.3.1

Submitted by:  Eric NOULARD <erk>
Submitted on:  Wed 11 Jun 2008 09:09:49 AM UTC  
 
Category: CERTISeverity: 3 - Normal
Item Group: NoneStatus: Ready For Test
Privacy: PublicAssigned to: Eric NOULARD <erk>
Open/Closed: ClosedRelease: CVS
Reproducibility: Every TimeFixed Release: 3.3.0

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 18 Jun 2008 01:14:58 PM UTC, comment #5:

Compiles fine now on my machine....

Michael Raab <michaelraab>
Wed 18 Jun 2008 01:12:42 PM UTC, comment #4:

Hi Michael,

Would you update and retry please.
Sorry about this compil' breakage.

Eric NOULARD <erk>
Project AdministratorIn charge of this item.
Wed 18 Jun 2008 01:08:46 PM UTC, comment #3:

Tried to compile the current CVS version on MSVC!

got the following errors:

SOCKETUN.cc

..\..\cvs_test\certi\libCERTI\SocketUN.cc(63) : error C2065: 'socklen_t'

..\..\cvs_test\certi\libCERTI\SocketUN.cc(63) : error C2146:

..\..\cvs_test\certi\libCERTI\SocketUN.cc(63) : error C2065: 'socklen'

Michael Raab <michaelraab>
Thu 12 Jun 2008 07:40:05 AM UTC, comment #2:

Ok tested with gcc 4.1.2 checked-in.
Need testing with MSVC.

Eric NOULARD <erk>
Project AdministratorIn charge of this item.
Wed 11 Jun 2008 09:17:28 AM UTC, comment #1:

Working patch added
need testing with pre 4.3.1 gcc
and (at least) MSVC.

Eric NOULARD <erk>
Project AdministratorIn charge of this item.
Wed 11 Jun 2008 09:09:49 AM UTC, original submission:

I've recently update my gcc to gcc 4.3.1 (debian sid package)
and it appears that it seems far more picky
about including appropriate standard C/C++ header

<memory> should be used for std::auto_ptr
<typeinfo> should be used for std::bad_cast
and a lot more...

look at this for more info
http://support.sas.com/documentation/onlinedoc/sasc/doc750/html/cpp/z0102216.htm

Eric NOULARD <erk>
Project AdministratorIn charge of this item.

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #15830:  GCC-4_3_1-bug23538-erk2.patch added by erk (14KiB - text/x-diff - Update patch for CVS)
file #15828:  GCC-4_3_1-bug23538-erk1.patch added by erk (14KiB - text/x-diff - Working patch for GCC 4.3.1 / Linux x86_64)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by michaelraab (Posted a comment)
  • -unavailable- added by erk (Submitted the item)
  •  

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 02 Jul 2008 08:49:34 AM UTCerkOpen/ClosedOpen=>Closed
      Fixed ReleaseUnknown=>3.3.0
    Thu 12 Jun 2008 07:40:05 AM UTCerkStatusIn Progress=>Ready For Test
    Wed 11 Jun 2008 09:43:04 PM UTCerkAttached File-=>Added GCC-4_3_1-bug23538-erk2.patch, #15830
    Wed 11 Jun 2008 09:16:38 AM UTCerkAttached File-=>Added GCC-4_3_1-bug23538-erk1.patch, #15828

    Back to the top


    Powered by Savane 3.1-cleanup1