This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cygwin g++ strictness


John Emmas wrote:

Is there a simple solution to this?

In general, no. Writing portable code is hard and requires quite a bit of thought and perhaps more importantly, experience.

First, use the strictest possible warning setting on the compiler
and strive for warning free compiles.

Then what I'd probably do is look closely at the offending code
and imagine all the ways that having incompatible types
that are silently converted will break your code.

Then read up on these issues on the many resources out there
on the web to educate yourself on how these problems manifest
themselves and how to solve them.

Sorry, but it's hard work.

Ralph


-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/


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