On 6/30/07, Sam Varshavchik <[EMAIL PROTECTED]> wrote:
>
> It's defining a function called stdin.
>
> My guess is that on OpenBSD, 'stdin' is a macro of some sorts, which causes
> havoc here.

Your guess is wrong, its not OpenBSD specific, it is a C & C++
language reserved identifier, its only through poor implementations of
the languages that it works on the other platforms.

http://www.noncombatant.org/trove/c-reserved-identifiers.html

> There's no easy fix except for me to rename these two functions, and change
> every reference to them.

This you should do, because when the other platforms fix this bug in
their compilers, your code will break on all platforms.

Lisa.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to