>As for -Wundef, it seems rather impractical to turn that on anyway given
>that it produces numerous other warnings --- a quick check in HEAD shows
It looks like my point was missed. I'm talking about compiling user code that
interfaces with Postgres. I'm specifically talking about server extens
bry...@giraffe-data.com (Bryan Henderson) writes:
> (a file that gets included in a user's server extension
> compilation) contains the line
> # if _MSC_VER > 1400
> In the compiler is not Microsoft C at all, _MSC_VER is undefined, and in some
> environments, the reference to it is an error (e.g
(a file that gets included in a user's server extension
compilation) contains the line
# if _MSC_VER > 1400
In the compiler is not Microsoft C at all, _MSC_VER is undefined, and in some
environments, the reference to it is an error (e.g. Gcc with -Wundef -Werror).
So that this header file can