#2498 Cygwin build fails due to colliding FILE_EXISTS symbol

obsolete: 8.4.1
closed-fixed
5
2003-10-22
2003-10-13
No

generic/tclCmdAH.c has an enumerator called FILE_EXISTS
that now collides with FILE_EXISTS which is #defined to
a hex constant by the system headers of modern Cygwin
systems. This macro appears in winddk.h, which is
somehow included by tclCmdAH.c's #includes.

Perhaps another name could be chosen, or all
enumerators in this file be prefixed by TCL_?

Discussion

  • Donal K. Fellows

    Logged In: YES
    user_id=79902

    I prefer the prefix FCMD_ since that's the same length as FILE_

     
  • Donal K. Fellows

    • labels: 105687 --> 16. Commands A-H
    • assigned_to: mdejong --> dkf
    • status: open --> closed-fixed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks