Hi Staffan,
I'll have to give you more help tonight if I have time.
The basic problem is the include of \INCLUDE\stdint.h in your VC++ 11. I'm
using VC++ 10 and don't see this at all.
There could be a new include in the ooSQLite source that is indirectly
including stdint.h. If you can figure out which one, you might be able to
comment it out and maybe it is not needed.
I think Rick might have already enhanced the ooRexx code in trunk to remove
this problem. Tonight I'll look that up, and give you a way to patch you
4.1 ooRexx code as a work around.
--
Mark Miesfeld
On Tue, Sep 24, 2013 at 9:18 AM, Staffan Tylen <staffan.ty...@gmail.com>wrote:
> Hi Mark, I've been quite inactive lately but today I decided to do an SVN
> update of ooSQLite to the latest version. I made the necessary changes to
> my makefile but when I compile I now get the following set of messages:
>
> cl /nologo /EHsc /O2 /Gs /Gy /FAs /Fabuild\release\ /MT /W3
> /D_CRT_SECURE_NO_DEPRECATE /D_CRT_NONSTDC_NO_DEPRECATE
> /DOOSQLITE_VER_MAJOR=1 /DOO
> SQLITE_VER_MINOR=0 /DOOSQLITE_VER_LEVEL=0 /DOOSQLITE_VER_BUILD=9434
> /DOOSQLITE_VER_STRING=\""1.0.0.9434"\"
> /DOOSQLITE_COPYRIGHT_YEAR=\""2012-2013"\" /
> I src\sqlite /I src\platform\windows /DSQLITE_ENABLE_COLUMN_METADATA
> /DSQLITE_ENABLE_MEMORY_MANAGEMENT /DSQLITE_ENABLE_FTS3
> /DSQLITE_ENABLE_FTS3_PAREN
> THESIS /DSQLITE_DEFAULT_FOREIGN_KEYS=1 /DSQLITE_CORE /DSQLITE_HAS_CODEC
> /D:_X86_ /DWIN32 /DNDEBUG /DNULL=0 /c /DOOSQLITE_BUILD /Fo.\build\release\
> src
> \ooSQLite.cpp
> ooSQLite.cpp
> C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\INCLUDE\stdint.h(8)
> : error C2371: 'int8_t' : redefinition; different basic types
> c:\program files (x86)\oorexx\api\rexxapitypes.h(58) : see
> declaration of 'int8_t'
> C:\Program Files (x86)\Microsoft Visual Studio
> 11.0\VC\INCLUDE\stdint.h(57) : warning C4005: 'INT8_MIN' : macro
> redefinition
> c:\program files (x86)\oorexx\api\rexxapitypes.h(96) : see
> previous definition of 'INT8_MIN'
> C:\Program Files (x86)\Microsoft Visual Studio
> 11.0\VC\INCLUDE\stdint.h(58) : warning C4005: 'INT16_MIN' : macro
> redefinition
> c:\program files (x86)\oorexx\api\rexxapitypes.h(92) : see
> previous definition of 'INT16_MIN'
> C:\Program Files (x86)\Microsoft Visual Studio
> 11.0\VC\INCLUDE\stdint.h(59) : warning C4005: 'INT32_MIN' : macro
> redefinition
> c:\program files (x86)\oorexx\api\rexxapitypes.h(88) : see
> previous definition of 'INT32_MIN'
> C:\Program Files (x86)\Microsoft Visual Studio
> 11.0\VC\INCLUDE\stdint.h(60) : warning C4005: 'INT64_MIN' : macro
> redefinition
> c:\program files (x86)\oorexx\api\rexxapitypes.h(100) : see
> previous definition of 'INT64_MIN'
> C:\Program Files (x86)\Microsoft Visual Studio
> 11.0\VC\INCLUDE\stdint.h(61) : warning C4005: 'INT8_MAX' : macro
> redefinition
> c:\program files (x86)\oorexx\api\rexxapitypes.h(95) : see
> previous definition of 'INT8_MAX'
> C:\Program Files (x86)\Microsoft Visual Studio
> 11.0\VC\INCLUDE\stdint.h(62) : warning C4005: 'INT16_MAX' : macro
> redefinition
> c:\program files (x86)\oorexx\api\rexxapitypes.h(91) : see
> previous definition of 'INT16_MAX'
> C:\Program Files (x86)\Microsoft Visual Studio
> 11.0\VC\INCLUDE\stdint.h(63) : warning C4005: 'INT32_MAX' : macro
> redefinition
> c:\program files (x86)\oorexx\api\rexxapitypes.h(87) : see
> previous definition of 'INT32_MAX'
> C:\Program Files (x86)\Microsoft Visual Studio
> 11.0\VC\INCLUDE\stdint.h(64) : warning C4005: 'INT64_MAX' : macro
> redefinition
> c:\program files (x86)\oorexx\api\rexxapitypes.h(99) : see
> previous definition of 'INT64_MAX'
> C:\Program Files (x86)\Microsoft Visual Studio
> 11.0\VC\INCLUDE\stdint.h(65) : warning C4005: 'UINT8_MAX' : macro
> redefinition
> c:\program files (x86)\oorexx\api\rexxapitypes.h(94) : see
> previous definition of 'UINT8_MAX'
> C:\Program Files (x86)\Microsoft Visual Studio
> 11.0\VC\INCLUDE\stdint.h(66) : warning C4005: 'UINT16_MAX' : macro
> redefinition
> c:\program files (x86)\oorexx\api\rexxapitypes.h(90) : see
> previous definition of 'UINT16_MAX'
> C:\Program Files (x86)\Microsoft Visual Studio
> 11.0\VC\INCLUDE\stdint.h(67) : warning C4005: 'UINT32_MAX' : macro
> redefinition
> c:\program files (x86)\oorexx\api\rexxapitypes.h(86) : see
> previous definition of 'UINT32_MAX'
> C:\Program Files (x86)\Microsoft Visual Studio
> 11.0\VC\INCLUDE\stdint.h(68) : warning C4005: 'UINT64_MAX' : macro
> redefinition
> c:\program files (x86)\oorexx\api\rexxapitypes.h(98) : see
> previous definition of 'UINT64_MAX'
> C:\Program Files (x86)\Microsoft Visual Studio
> 11.0\VC\INCLUDE\stdint.h(101) : warning C4005: 'INTPTR_MIN' : macro
> redefinition
> c:\program files (x86)\oorexx\api\rexxapitypes.h(84) : see
> previous definition of 'INTPTR_MIN'
> C:\Program Files (x86)\Microsoft Visual Studio
> 11.0\VC\INCLUDE\stdint.h(102) : warning C4005: 'INTPTR_MAX' : macro
> redefinition
> c:\program files (x86)\oorexx\api\rexxapitypes.h(83) : see
> previous definition of 'INTPTR_MAX'
> C:\Program Files (x86)\Microsoft Visual Studio
> 11.0\VC\INCLUDE\stdint.h(103) : warning C4005: 'UINTPTR_MAX' : macro
> redefinition
> c:\program files (x86)\oorexx\api\rexxapitypes.h(82) : see
> previous definition of 'UINTPTR_MAX'
> NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual
> Studio 11.0\VC\BIN\cl.EXE"' : return code '0x2'
> Stop.
>
> Can you help out? I already know the answer :)
>
> Staffan
>
>
>
> ------------------------------------------------------------------------------
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application performance.
> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most
> from
> the latest Intel processors and coprocessors. See abstracts and register >
> http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
> _______________________________________________
> Oorexx-users mailing list
> Oorexx-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oorexx-users
>
>
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users