search for: dcl36

Displaying 5 results from an estimated 5 matches for "dcl36".

2010 Apr 13
2
[LLVMdev] darwin dragon-egg build issues
...(./dragonegg.so, 10): Symbol not found: _classify_argument > > looks like you forgot to apply the i386_static.diff patch to gcc. > > Ciao, > > Duncan. Duncan, Doesn't i386_static.diff represent a violation of... https://www.securecoding.cert.org/confluence/display/seccode/DCL36-C.+Do+not+declare+an+identifier+with+conflicting+linkage+classifications since it first declares a function as extern and then redefines it locally? Jack
2010 Apr 13
0
[LLVMdev] darwin dragon-egg build issues
Hi Jack, > Doesn't i386_static.diff represent a violation of... > > https://www.securecoding.cert.org/confluence/display/seccode/DCL36-C.+Do+not+declare+an+identifier+with+conflicting+linkage+classifications > > since it first declares a function as extern and then > redefines it locally? I don't think so. "Redefines it locally" is not the same as giving it internal linkage. By the way, if it was a proble...
2010 Apr 13
1
[LLVMdev] darwin dragon-egg build issues
On Tue, Apr 13, 2010 at 04:06:45PM +0200, Duncan Sands wrote: > Hi Jack, > >> Doesn't i386_static.diff represent a violation of... >> >> https://www.securecoding.cert.org/confluence/display/seccode/DCL36-C.+Do+not+declare+an+identifier+with+conflicting+linkage+classifications >> >> since it first declares a function as extern and then >> redefines it locally? > > I don't think so. "Redefines it locally" is not the same as giving it internal > linkage. By t...
2010 Apr 13
0
[LLVMdev] darwin dragon-egg build issues
Hi Jack, > bash-3.2$ gcc-4 hello.c -S -O1 -o - -fplugin=./dragonegg.so > cc1: error: Cannot load plugin ./dragonegg.so > dlopen(./dragonegg.so, 10): Symbol not found: _classify_argument looks like you forgot to apply the i386_static.diff patch to gcc. Ciao, Duncan.
2010 Apr 13
4
[LLVMdev] darwin dragon-egg build issues
On Sat, Apr 10, 2010 at 08:29:07PM -0500, Peter O'Gorman wrote: > On 04/10/2010 08:01 PM, Jack Howarth wrote: > > > > > bash-3.2$ GCC=/sw/bin/gcc-4 CC=gcc-4 CXX=g++-4 CFLAGS=-I/sw/include CXXFLAGS=-I/sw/include LLVM_CONFIG=/sw/lib/llvm/bin/llvm-config make > > g++-4 -c -I/sw/lib/llvm/include -D_DEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -MD