Re[2]: double underscores in autoconf-defined symbol names

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

 



On Tue, 10 Jan 2006 10:02:47 +0000 Keith MARSHALL <keith.marshall@xxxxxxxxx> wrote:

KM> From your example, it appears that you are searching for functions
KM> using their "uglified" Microsoft names.

 It's not really uglified. Microsoft CRT is pretty consistent in prepending
underscores to POSIX/Unix98/anything-but-ANSI-C functions. This is
certainly annoying at times but it makes its kind of sense.

KM> The MinGW port of GCC for Win32 defines aliases for most of these
KM> ugly function names, with the leading underscore removed;

 I want configure to work with both mingw32 and cygwin and one of them (I
think it was cygwin but I'm not 100% sure; I can recheck it though) has
only _snprintf but not snprintf.

KM> I think Microsoft's own compiler does likewise, (but don't know for
KM> sure).

 It only does this if _POSIX is defined and __STDC__ is *not* defined. And
the latter must always be defined in practice so, no, it doesn't really do
it.

 Thanks anyhow for your suggestions!
VZ



_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux