[LLVMdev] Little win32/Signals.cpp patch

Paolo Invernizzi arathorn at fastwebnet.it
Fri Sep 24 07:43:56 PDT 2004


Jeff Cohen wrote:

>But I compiled that under vc7.1 as it was!
>  
>
;-((

Probably is an implicid includes, but I'm using the STLPort standard 
library for LLVM (because it's not possible to use hash_map and hash_set 
of  microsoft)


cl /nologo /TP /EHsc /GR /Zi /Yd /D__STDC_LIMIT_MACROS 
/DHAVE__FINITE_IN_FLOAT_H /DHAVE__ISNAN_IN_FLOAT_H /DHAVE_WINDOWS_H 
/ISTLport-4.6.2\stlport /Illvm\include /Iinclude /Ibuild_vc71\inclu
de /Illvm\include /c llvm\lib\System\Signals.cpp 
/Fobuild_vc71\lib\System\Signals.obj
Signals.cpp
d:\home\arathorn\sandbox\llvm\llvm\lib\System\platform\Signals.cpp(127) 
: error C2039: 'remove' : is not a member of '_STL'
d:\home\arathorn\sandbox\llvm\llvm\lib\System\platform\Signals.cpp(127) 
: error C3861: 'remove': identifier not found, even with 
argument-dependent lookup
d:\home\arathorn\sandbox\llvm\llvm\lib\System\platform\Signals.cpp(179) 
: error C2065: 'stderr' : undeclared identifier
d:\home\arathorn\sandbox\llvm\llvm\lib\System\platform\Signals.cpp(179) 
: error C3861: 'fprintf': identifier not found, even with 
argument-dependent lookup
d:\home\arathorn\sandbox\llvm\llvm\lib\System\platform\Signals.cpp(182) 
: error C3861: 'fprintf': identifier not found, even with 
argument-dependent lookup
d:\home\arathorn\sandbox\llvm\llvm\lib\System\platform\Signals.cpp(182) 
: error C3861: 'stderr': identifier not found, even with 
argument-dependent lookup
d:\home\arathorn\sandbox\llvm\llvm\lib\System\platform\Signals.cpp(187) 
: error C3861: 'fputs': identifier not found, even with 
argument-dependent lookup
d:\home\arathorn\sandbox\llvm\llvm\lib\System\platform\Signals.cpp(187) 
: error C3861: 'stderr': identifier not found, even with 
argument-dependent lookup
d:\home\arathorn\sandbox\llvm\llvm\lib\System\platform\Signals.cpp(200) 
: error C3861: 'fputc': identifier not found, even with 
argument-dependent lookup
d:\home\arathorn\sandbox\llvm\llvm\lib\System\platform\Signals.cpp(200) 
: error C3861: 'stderr': identifier not found, even with 
argument-dependent lookup
d:\home\arathorn\sandbox\llvm\llvm\lib\System\platform\Signals.cpp(206) 
: error C3861: 'fprintf': identifier not found, even with 
argument-dependent lookup
d:\home\arathorn\sandbox\llvm\llvm\lib\System\platform\Signals.cpp(206) 
: error C3861: 'stderr': identifier not found, even with 
argument-dependent lookup
d:\home\arathorn\sandbox\llvm\llvm\lib\System\platform\Signals.cpp(208) 
: error C3861: 'fprintf': identifier not found, even with 
argument-dependent lookup
d:\home\arathorn\sandbox\llvm\llvm\lib\System\platform\Signals.cpp(208) 
: error C3861: 'stderr': identifier not found, even with 
argument-dependent lookup
d:\home\arathorn\sandbox\llvm\llvm\lib\System\platform\Signals.cpp(215) 
: error C3861: 'fprintf': identifier not found, even with 
argument-dependent lookup
d:\home\arathorn\sandbox\llvm\llvm\lib\System\platform\Signals.cpp(215) 
: error C3861: 'stderr': identifier not found, even with 
argument-dependent lookup
d:\home\arathorn\sandbox\llvm\llvm\lib\System\platform\Signals.cpp(217) 
: error C3861: 'fprintf': identifier not found, even with 
argument-dependent lookup
d:\home\arathorn\sandbox\llvm\llvm\lib\System\platform\Signals.cpp(217) 
: error C3861: 'stderr': identifier not found, even with 
argument-dependent lookup
d:\home\arathorn\sandbox\llvm\llvm\lib\System\platform\Signals.cpp(220) 
: error C3861: 'fputc': identifier not found, even with 
argument-dependent lookup
d:\home\arathorn\sandbox\llvm\llvm\lib\System\platform\Signals.cpp(220) 
: error C3861: 'stderr': identifier not found, even with 
argument-dependent lookup


D:\home\arathorn>cl
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.10.3077 for 80x86
Copyright (C) Microsoft Corporation 1984-2002. All rights reserved.

usage: cl [ option... ] filename... [ /link linkoption... ]




More information about the llvm-dev mailing list