Only _MSC_VER >= 1400 supports _declspec(deprecate("text")) syntax; 
_MSC_VER >= 1300 only supports bare _declspec(deprecate) syntax.

This error was introduced in version 3.6 and still exists in 3.6.3. I 
have to modify these two files in order to compile using Visual C++ 2003.

It should be like this:

/*
** Add the ability to mark interfaces as experimental.
*/
#if (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3))
  /* I can confirm that it does not work on version 4.1.0... */
  /* First appears in GCC docs for version 4.3.0 */
  #define SQLITE_EXPERIMENTAL __attribute__ ((warning ("is experimental")))
#elif defined(_MSC_VER)
  #if _MSC_VER >= 1400
    #define SQLITE_EXPERIMENTAL __declspec(deprecated("was declared 
experimental"))
  #elif _MSC_VER >= 1300
    #define SQLITE_EXPERIMENTAL __declspec(deprecated)
  #endif
#else
    #define SQLITE_EXPERIMENTAL
#endif
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to