[Dev-luatex] 64 bit binary for windows?
luigi scarso
luigi.scarso at gmail.com
Wed Apr 10 12:18:42 CEST 2013
On Wed, Apr 10, 2013 at 12:09 PM, Taco Hoekwater <taco at elvenkind.com> wrote:
> Well, it is definitely better to change the texmf/lib/lib.h file than to change
> the mingw header io.h,
Ah yes, but my pov is that here luatex is right and mingw is wrong :-)
>but is there no way to prevent io.h from defining eof()
> via gcc the command line?
out of jokes: there is a NO_OLDNAMES
(NO_EOL_OLDNAME is mine)
#ifndef NO_OLDNAMES
int __cdecl access(const char *_Filename,int _AccessMode)
__MINGW_ATTRIB_DEPRECATED_MSVC2005;
int __cdecl chmod(const char *_Filename,int _AccessMode)
__MINGW_ATTRIB_DEPRECATED_MSVC2005;
int __cdecl chsize(int _FileHandle,long _Size)
__MINGW_ATTRIB_DEPRECATED_MSVC2005;
int __cdecl close(int _FileHandle) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
int __cdecl creat(const char *_Filename,int _PermissionMode)
__MINGW_ATTRIB_DEPRECATED_MSVC2005;
int __cdecl dup(int _FileHandle) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
int __cdecl dup2(int _FileHandleSrc,int _FileHandleDst)
__MINGW_ATTRIB_DEPRECATED_MSVC2005;
#ifndef NO_EOL_OLDNAME
int __cdecl eof(int _FileHandle) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
#endif
long __cdecl filelength(int _FileHandle) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
int __cdecl isatty(int _FileHandle) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
int __cdecl locking(int _FileHandle,int _LockMode,long _NumOfBytes)
__MINGW_ATTRIB_DEPRECATED_MSVC2005;
long __cdecl lseek(int _FileHandle,long _Offset,int _Origin)
__MINGW_ATTRIB_DEPRECATED_MSVC2005;
char *__cdecl mktemp(char *_TemplateName) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
int __cdecl open(const char *_Filename,int _OpenFlag,...)
__MINGW_ATTRIB_DEPRECATED_MSVC2005;
int __cdecl read(int _FileHandle,void *_DstBuf,unsigned int
_MaxCharCount) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
int __cdecl setmode(int _FileHandle,int _Mode)
__MINGW_ATTRIB_DEPRECATED_MSVC2005;
int __cdecl sopen(const char *_Filename,int _OpenFlag,int
_ShareFlag,...) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
long __cdecl tell(int _FileHandle) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
int __cdecl umask(int _Mode) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
int __cdecl write(int _Filehandle,const void *_Buf,unsigned int
_MaxCharCount) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
#endif
but using -DNO_OLDNAMES creates several other problems
--
luigi
More information about the dev-luatex
mailing list