[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)

  int __cdecl access(const char *_Filename,int _AccessMode)
  int __cdecl chmod(const char *_Filename,int _AccessMode)
  int __cdecl chsize(int _FileHandle,long _Size)
  int __cdecl close(int _FileHandle) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
  int __cdecl creat(const char *_Filename,int _PermissionMode)
  int __cdecl dup(int _FileHandle) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
  int __cdecl dup2(int _FileHandleSrc,int _FileHandleDst)
  int __cdecl eof(int _FileHandle) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
  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)
  long __cdecl lseek(int _FileHandle,long _Offset,int _Origin)
  char *__cdecl mktemp(char *_TemplateName)  __MINGW_ATTRIB_DEPRECATED_MSVC2005;
  int __cdecl open(const char *_Filename,int _OpenFlag,...)
  int __cdecl read(int _FileHandle,void *_DstBuf,unsigned int
  int __cdecl setmode(int _FileHandle,int _Mode)
  int __cdecl sopen(const char *_Filename,int _OpenFlag,int
  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

but using -DNO_OLDNAMES creates several other problems


More information about the dev-luatex mailing list