On 6/30/07, Sam Varshavchik <mrs...@courier-mta.com> 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.