-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Sun, 15 Jul 2007 18:21:16 +0200
Matthieu Fertré <[EMAIL PROTECTED]> wrote:
|Kurosu a écrit :
|> Kurosu a écrit :
|>
|>> I've spent some time "cleaning" the includes by using forward
|>> declarations. This means that not all headers are automatically
|>>
|>
|> In order to continue this, I'm thinking of using uint32_t instead of
|> Uint32 in include/action.{cpp,h}. However, this is C99, and I'm not
|sure > all environments (*BSD) have it included as automatically as
|for gnu > systems.
|
|C++ has been defined before C99, so it is not entirely compatible.
|Anyway, it seems that you can force most of compilers to use C99
|extensions to C. From what I have understood, we already use some
|functions defined only in C99 such as std::isnan().
|
|> The same would be done in graphic/polygon.h
|>
|> The reason is that SDL_stdinc.h isn't sufficient for windows, and
|> therefore SDL.h is needed, bringing in a lot of includes only for
|> integer type definitions.
|>
|> Should I do that (and risk breaking *BSD and maybe MacOSX) or do the
|> SDL.h include ? I'd go with the first, and I'll go with it if I hear
|no > complain within a week.
|>
|
|What do FreeBSD and Apple maintainer think about that ? Will they able
|to continue to package in such case ?
|
|Regards,
|
|Matt (gentildemon)
|
|
|
I see for FreeBSD no problems :-)
- - Martin
- --
Martin Wilke | irc.unixfreunde.de #bsd
[EMAIL PROTECTED] | [EMAIL PROTECTED]
FreeBSD Committer | Power to Serve
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)
iD8DBQFGmpOIFwpycAVoI1MRAqYNAJ9eUKecNjjqOP8kkearapdj3mbmdgCfQwgh
rvsOOWTLTUaTdp1YiJpbylo=
=P6gN
-----END PGP SIGNATURE-----
_______________________________________________
Wormux-dev mailing list
[email protected]
https://mail.gna.org/listinfo/wormux-dev