This is the mail archive of the
cygwin
mailing list for the Cygwin project.
cygwin g++ strictness
- From: "John Emmas" <johne53 at tiscali dot co dot uk>
- To: <cygwin at cygwin dot com>
- Date: Thu, 30 Oct 2008 19:35:37 -0000
- Subject: cygwin g++ strictness
When compiling things under cygwin I'm noticing that the compiler is very
strict about things like typedef'd variables. For example if 'gint' is
typedef'd as int and 'int32' is also typedef'd as int I can't pass an int32
to a function that requires gint. This means I'm having to put dozens of
casts all over the place. Is there any way to avoid this? e.g. a compiler
switch that would make the compiler a bit more lenient?
John
--
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/