Thanks Mark. As I'm in no rush at all with this I prefer to wait for an official solution to this.

Staffan



On Wed, Sep 25, 2013 at 5:12 PM, Mark Miesfeld <miesfeld@gmail.com> wrote:
On Wed, Sep 25, 2013 at 2:56 AM, Staffan Tylen <staffan.tylen@gmail.com> wrote:
Mark, here is the output.

ooSQLite.cpp
C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\INCLUDE\memory(7) : fatal error C1083: Cannot open include file: 'stdint.h': No such file or di
rectory
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\BIN\cl.EXE"' : return code '0x2'
Stop.

There exists a file called memory (in addition to memory.h) that contains the following lines at top:

// memory standard header
#pragma once
#ifndef _MEMORY_
#define _MEMORY_
#ifndef RC_INVOKED
#include <xmemory>
#include <stdint.h> /* for uintptr_t */

Well, that explains why I don't see any problems.  The Visual Studio 10 headers don't include stdint.h there.

I don't have time to work on a real solution until, maybe, this weekend.

If you just want to compile you can try this

In the ooSQLite make file add this define: _STDINT  I would just add it to this line:

BASEFLAGS = $(WARNINGFLAGS) $(VERDEFS) $(EXTRAINCLUDE) $(SQLITEFLAGS)

make it:

BASEFLAGS = $(WARNINGFLAGS) $(VERDEFS) $(EXTRAINCLUDE) $(SQLITEFLAGS) /D_STDINT

I think that will work.

If it doesn't and you don't mind making a temporary change to one of the ooRexx header files you could try this:

In rexxapitypes.h on line 67 change this:

typedef char int8_t;

to this:

typedef signed char int8_t;

You will still see the warnings, but it should eliminate the error that stops the build.

You can find rexxapitypes.h in the api subdirectory of your ooRexx install

 Directory of C:\rexx\ooRexx\api

09/17/2013  07:51 AM    <DIR>          .
09/17/2013  07:51 AM    <DIR>          ..
05/18/2013  08:44 PM           153,716 oorexxapi.h
07/10/2012  12:36 PM            42,572 oorexxerrors.h
02/25/2010  02:19 PM            40,334 rexx.h
09/17/2013  07:48 AM             5,104 rexx.lib
09/17/2013  07:45 AM             9,544 rexxapi.lib
02/25/2010  02:19 PM            15,581 rexxapidefs.h
02/25/2010  02:19 PM             4,726 rexxapitypes.h
02/25/2010  02:19 PM             3,741 rexxplatformapis.h
02/25/2010  02:19 PM             3,271 rexxplatformdefs.h


If neither works, then you'll probably have to wait until I have time to address the issue.  Which I'll have to do sooner or later because I'll want to move on from Visual Studio 2010.

--
Mark Miesfeld

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