OK, that makes sense.  I missed the extra
"-Ic:\progra~1\micros~1.net\vc7\include" in the compiler's command line
you sent.

The SSCLI build process is set up so that the PAL can import external
functionality from the OS and other runtime libraries like STL, but the
rest of the tree cannot.  Everything else consumes OS and runtime
functionality only via the PAL - this is done to ensure that only the
PAL needs to be modified when porting the SSCLI to another OS.

You might be able to use STL, but rather than trying to change
sources.inc, you may have better luck by copying the relevant STL
headers into sscli/palrt/inc.  By doing so, they'll build on top of the
PAL, using its definitions rather than the Win32 SDK's.

Barry
This posting is provided "AS IS" with no warranties, and confers no
rights.

-----Original Message-----
From: Discussion of the Rotor Shared Source CLI implementation
[mailto:[EMAIL PROTECTED] On Behalf Of John Locke
Sent: Friday, August 22, 2003 4:08 PM
To: [EMAIL PROTECTED]
Subject: Re: [DOTNET-ROTOR] Another Rotor build problem - problem found.

As soon as my buddy Todd responded, we found the
problem.  I had put that include directory in the
src/vm source.inc because I was trying to use
STL in one of the files.  So, I took out the offending
include file but I still have the question.  Can you
use STL in Rotor?

thanks,

John

--- Barry Bond <[EMAIL PROTECTED]> wrote:
> Files under clr\src shouldn't be including the
> Visual Studio version of
> stdlib.h:  the SSCLI tree provides its own version,
> in palrt\inc.  Can
> you confirm that
> E:\taanders\ROTORP\palrt\inc\stdlib.h exists and is
> 696
> bytes long?
>
> Also, please check that you don't have an INCLUDE
> environment variable
> set - if one is set, it may interfere with the SSCLI
> build process.
>
> Barry
> This posting is provided "AS IS" with no warranties,
> and confers no
> rights.
>
> -----Original Message-----
> From: Discussion of the Rotor Shared Source CLI
> implementation
> [mailto:[EMAIL PROTECTED] On Behalf
> Of John Locke
> Sent: Friday, August 22, 2003 11:00 AM
> To: [EMAIL PROTECTED]
> Subject: [DOTNET-ROTOR] Another Rotor build problem.
>
> All of a sudden, when I try to compile Rotor, it is
> unable to precompile common.h.  Opening builddf.log
> you find the below.  I think that I've verified that
> none of the files have changed so I don't know what
> is going on.  Please help!
>
> John
>
>
> cl -nologo  /Tp ..\common.cpp  -Ii386\ -I.
> -IE:\taanders\ROTORP\clr\src\inc\version -I..
> -I..\i386 -Iobjdf\rotor_x86 -I..\..\inc
> -I..\..\inc\objdf\rotor_x86
> -I..\..\classlibnative\inc
> -I..\..\md\inc -I..\..\xmlparser
> -I..\..\clijit\orp-include
> -Ic:\progra~1\micros~1.net\vc7\include
> -IE:\taanders\ROTORP\clr\public\oak\inc
> -IE:\taanders\ROTORP\pal
> -IE:\taanders\ROTORP\palrt\inc -Di386 -D_X86_
> -DSTD_CALL -DCONDITION_HANDLING=1 -DNT_UP=1
> -DNT_INST=0 -DWIN32=100 -D_NT1X_=100 -DWINNT=1
> -D_WIN32_WINNT=0x0400 -DWINVER=0x0400
> -D_WIN32_IE=0x0400    -DWIN32_LEAN_AND_MEAN=1
> -DNTMAKEENV -D_DEBUG -DDEBUGGING_SUPPORTED
> -DPROFILING_SUPPORTED -DFUSION_SUPPORTED
> -DPLATFORM_WIN32 -DFEATURE_PAL -DUSE_CDECL_HELPERS
> -DPAL_PORTABLE_SEH -DDBG=1 -DDEVL=1 -DFPO=0
> -D_DEBUG -DNTMAKEENV -D_DEBUG -DDEBUGGING_SUPPORTED
> -DPROFILING_SUPPORTED -DFUSION_SUPPORTED
> -DPLATFORM_WIN32 -DFEATURE_PAL -DUSE_CDECL_HELPERS
> -DPAL_PORTABLE_SEH    /c /Zel /Zp8 /Gy  -Wp64 /Gz
> /QIfdiv- /QIf /QI0f  /Gi /Gm /GX-  /GR- /GF  /Zi /O1
> /G6 /Oy-
>
/FdE:\taanders\ROTORP\clr\bin\rotor_x86\fastchecked\cee_wks.pdb
>
/FRe:\taanders\rotorp\clr\src\vm\wks\objdf\rotor_x86\
> /EHs- /EHa- /EHc- -DUNICODE -D_UNICODE -DCOMPLUS_EE
> -DENABLE_PERF_COUNTERS -W4 -DNO_CRT /WX
> /Ylfastchecked\cee_wks /Yccommon.h
> /Fpobjdf\rotor_x86\common.pch
>
/Fo"e:\taanders\rotorp\clr\src\vm\wks\objdf\rotor_x86\common.obj"
>
> common.cpp
>
> c:\Program Files\Microsoft Visual Studio
> .NET\Vc7\include\stdlib.h(183) : error C2373:
> 'PAL_errno' : redefinition; different type modifiers
>
>         E:\taanders\ROTORP\pal\rotor_pal.h(3409) :
> see
> declaration of 'PAL_errno'
>
> c:\Program Files\Microsoft Visual Studio
> .NET\Vc7\include\stdlib.h(251) : warning C4273:
> 'exit'
> : inconsistent dll linkage
>
> c:\Program Files\Microsoft Visual Studio
> .NET\Vc7\include\stdlib.h(260) : warning C4273:
> 'abs'
> : inconsistent dll linkage
>
> c:\Program Files\Microsoft Visual Studio
> .NET\Vc7\include\stdlib.h(264) : warning C4273:
> 'atof'
> : inconsistent dll linkage
>
> c:\Program Files\Microsoft Visual Studio
> .NET\Vc7\include\stdlib.h(265) : warning C4273:
> 'atoi'
> : inconsistent dll linkage
>
> c:\Program Files\Microsoft Visual Studio
> .NET\Vc7\include\stdlib.h(266) : warning C4273:
> 'atol'
> : inconsistent dll linkage
>
> c:\Program Files\Microsoft Visual Studio
> .NET\Vc7\include\stdlib.h(268) : warning C4273:
> 'bsearch' : inconsistent dll linkage
>
> c:\Program Files\Microsoft Visual Studio
> .NET\Vc7\include\stdlib.h(274) : warning C4273:
> 'free'
> : inconsistent dll linkage
>
> c:\Program Files\Microsoft Visual Studio
> .NET\Vc7\include\stdlib.h(275) : warning C4273:
> 'getenv' : inconsistent dll linkage
>
> c:\Program Files\Microsoft Visual Studio
> .NET\Vc7\include\stdlib.h(287) : warning C4273:
> 'labs'
> : inconsistent dll linkage
>
> c:\Program Files\Microsoft Visual Studio
> .NET\Vc7\include\stdlib.h(291) : warning C4273:
> 'malloc' : inconsistent dll linkage
>
> c:\Program Files\Microsoft Visual Studio
> .NET\Vc7\include\stdlib.h(297) : warning C4273:
> 'qsort' : inconsistent dll linkage
>
> c:\Program Files\Microsoft Visual Studio
> .NET\Vc7\include\stdlib.h(298) : warning C4273:
> 'rand'
> : inconsistent dll linkage
>
> c:\Program Files\Microsoft Visual Studio
> .NET\Vc7\include\stdlib.h(299) : warning C4273:
> 'realloc' : inconsistent dll linkage
>
> c:\Program Files\Microsoft Visual Studio
> .NET\Vc7\include\stdlib.h(305) : warning C4273:
> 'srand' : inconsistent dll linkage
>
> c:\Program Files\Microsoft Visual Studio
> .NET\Vc7\include\stdlib.h(306) : warning C4273:
> 'strtod' : inconsistent dll linkage
>
> c:\Program Files\Microsoft Visual Studio
> .NET\Vc7\include\stdlib.h(308) : warning C4273:
> 'strtoul' : inconsistent dll linkage
>
> c:\Program Files\Microsoft Visual Studio
> .NET\Vc7\include\stdlib.h(319) : warning C4273:
> '_itow' : inconsistent dll linkage
>
> c:\Program Files\Microsoft Visual Studio
> .NET\Vc7\include\stdlib.h(322) : warning C4273:
> 'wcstod' : inconsistent dll linkage
>
> c:\Program Files\Microsoft Visual Studio
> .NET\Vc7\include\stdlib.h(323) : warning C4273:
> 'wcstol' : inconsistent dll linkage
>
> c:\Program Files\Microsoft Visual Studio
> .NET\Vc7\include\stdlib.h(324) : warning C4273:
> 'wcstoul' : inconsistent dll linkage
>
> c:\Program Files\Microsoft Visual Studio
> .NET\Vc7\include\stdlib.h(328) : warning C4273:
> '_wtoi' : inconsistent dll linkage
>
> c:\Program Files\Microsoft Visual Studio
> .NET\Vc7\include\stdlib.h(331) : warning C4273:
> '_i64tow' : inconsistent dll linkage
>
> c:\Program Files\Microsoft Visual Studio
> .NET\Vc7\include\stdlib.h(332) : warning C4273:
> '_ui64tow' : inconsistent dll linkage
>
> c:\Program Files\Microsoft Visual Studio
> .NET\Vc7\include\stdlib.h(344) : warning C4273:
> '_ecvt' : inconsistent dll linkage
>
> c:\Program Files\Microsoft Visual Studio
> .NET\Vc7\include\stdlib.h(351) : warning C4273:
> '_fullpath' : inconsistent dll linkage
>
> c:\Program Files\Microsoft Visual Studio
> .NET\Vc7\include\stdlib.h(352) : warning C4273:
> '_gcvt' : inconsistent dll linkage
>
> c:\Program Files\Microsoft Visual Studio
> .NET\Vc7\include\stdlib.h(356) : warning C4273:
> '_makepath' : inconsistent dll linkage
>
> c:\Program Files\Microsoft Visual Studio
> .NET\Vc7\include\stdlib.h(359) : warning C4273:
> '_putenv' : inconsistent dll linkage
>
> c:\Program Files\Microsoft Visual Studio
>
=== message truncated ===


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

===================================
This list is hosted by DevelopMentor(r)  http://www.develop.com
NEW! ASP.NET courses you may be interested in:

2 Days of ASP.NET, 29 Sept 2003, in Redmond
http://www.develop.com/courses/2daspdotnet

Guerrilla ASP.NET, 13 Oct 2003, in Boston
http://www.develop.com/courses/gaspdotnet

View archives and manage your subscription(s) at
http://discuss.develop.com

===================================
This list is hosted by DevelopMentor�  http://www.develop.com
NEW! ASP.NET courses you may be interested in:

2 Days of ASP.NET, 29 Sept 2003, in Redmond
http://www.develop.com/courses/2daspdotnet

Guerrilla ASP.NET, 13 Oct 2003, in Boston
http://www.develop.com/courses/gaspdotnet

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to