This is the mail archive of the
sid@sources.redhat.com
mailing list for the SID project.
SID & GCC 3.0 should be now happy.
- To: sid at sources dot redhat dot com
- subject: SID & GCC 3.0 should be now happy.
- From: matthew green <mrg at cygnus dot com>
- Date: Fri, 03 Aug 2001 16:08:21 +1000
- organisation: Red Hat, Inc.
hi folks.
i've just commited the changes necessary to build sid with GCC 3.0 and
newer compilers. things to look out for:
- components & busses need dtors that have a throw() specifier.
- cerr, min, hex, etc., are all in namespace std:: by default,
and must be explictly used.
- writing `&(Class::MemberFn)' makes GCC 3.0 to lose type info
about this expression, causing it to be unable to match function
calls with prototypes. the result is that you get errors with
`<unknown type>' in them, not the type of `MemberFn' above. just
remove the parens and write `&Class::MemberFn.'
.mrg.