pkgsrc-WIP-discuss archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: compiler error? (RE: please review wip/cc65)



On Mon, Jul 07, 2008 at 02:48:49PM -0500, Larson, Timothy E. wrote:
> {{{ This means that the compiler claims to be compliant to an ANSI or ISO
> standard before C99 but defines va_copy anyway. If the former is true,
> va_copy is no reserved identifier and must not be defined by the compiler.
> At least this is my interpretation of the standard is how other compilers
> implement it. Maybe someone active in -BSD development can comment on it.
> }}}

That's an interesting approach to portability at least. You can't do
va_copy portably, period. Code should check if it actually exists and
use it in that case.

Joerg

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
pkgsrc-wip-discuss mailing list
pkgsrc-wip-discuss%lists.sourceforge.net@localhost
https://lists.sourceforge.net/lists/listinfo/pkgsrc-wip-discuss


Home | Main Index | Thread Index | Old Index