GCC flaw in FreeBSD5? Cone 0.58 does not compile

Matthias Andree ma at dt.e-technik.uni-dortmund.de
Sat Apr 17 13:48:26 PDT 2004


"Jacques A. Vidrine" <nectar at FreeBSD.org> writes:

> `fileno' may be implemented as a macro (as it is on FreeBSD), so one
> cannot rely on implicit conversions.

OK, not a FreeBSD problem then.

> The invocations MUST be
>
>    fileno((FILE *)(*saveFile))

I'll use static_cast<FILE *>() for the port for now.

-- 
Matthias Andree

Encrypt your mail: my GnuPG key ID is 0x052E7D95


More information about the freebsd-current mailing list