Menu

MSVC7, __STDC__ and stricmp

2002-04-26
2002-04-30
  • Jim Kimball

    Jim Kimball - 2002-04-26

    I don't have a copy of MSVC6 so I don't know if this problem exists there also, but in MSVC7 (aka Visual C++ .NET), if I compile with __STDC__ for ANSI, stricmp is not defined.

    One option is to include in config-win32.h:

    #ifdef __STDC__
      #define stricmp _stricmp
    #endif

     
    • Bastiaan Bakker

      Bastiaan Bakker - 2002-04-30

      the stricmp dependency has been removed in 0.3.1 altogether, because stricmp/strcasecmp was no longer required. It got into 0.2.7 only to support a patch that I later backed out.

      Thanks,

      Bastiaan

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.