This is the mail archive of the sid@sources.redhat.com mailing list for the SID project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

SID & GCC 3.0 should be now happy.




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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]