search for: __cdecl

Displaying 20 results from an estimated 130 matches for "__cdecl".

2010 Jan 19
1
Linker Error when compiling Speex decoder
...following error during linking. How do I resolve it. I am compiling using Visual Studio 2008 Thanks 1>Copyright (C) Microsoft Corporation. All rights reserved. 1>Linking... 1>MicSpeexDec.obj : error LNK2019: unresolved external symbol __imp__fclose referenced in function "int __cdecl _tmain(int,char * * const)" (?_tmain@@YAHHQAPAD at Z) 1>MicSpeexDec.obj : error LNK2019: unresolved external symbol __imp__fwrite referenced in function "int __cdecl _tmain(int,char * * const)" (?_tmain@@YAHHQAPAD at Z) 1>MicSpeexDec.obj : error LNK2019: unresolved external s...
2004 Dec 05
0
[LLVMdev] [Fwd: Updated LLVM Visual Studio project files]
...sn't build cleanly with VC++: \llvm\lib\System\ltdl.c(972) : warning C4090: 'function' : different 'const' qualifiers \llvm\lib\System\ltdl.c(1332) : warning C4090: '=' : different 'const' qualifiers \llvm\lib\System\ltdl.c(1431) : warning C4113: 'lt_module (__cdecl *)()' differs in parameter lists from 'lt_module_open (__cdecl *)' \llvm\lib\System\ltdl.c(1431) : warning C4113: 'int (__cdecl *)()' differs in parameter lists from 'lt_module_close (__cdecl *)' \llvm\lib\System\ltdl.c(1431) : warning C4113: 'void *(__cdecl *)()'...
2004 Dec 28
1
[LLVMdev] [Fwd: Updated LLVM Visual Studio project files]
...ly with VC++: > > \llvm\lib\System\ltdl.c(972) : warning C4090: 'function' : different 'const' qualifiers > \llvm\lib\System\ltdl.c(1332) : warning C4090: '=' : different 'const' qualifiers > \llvm\lib\System\ltdl.c(1431) : warning C4113: 'lt_module (__cdecl *)()' differs in parameter lists from 'lt_module_open (__cdecl *)' > \llvm\lib\System\ltdl.c(1431) : warning C4113: 'int (__cdecl *)()' differs in parameter lists from 'lt_module_close (__cdecl *)' > \llvm\lib\System\ltdl.c(1431) : warning C4113: 'void *(__cdec...
2004 Dec 04
3
[LLVMdev] [Fwd: Updated LLVM Visual Studio project files]
ltdl.h fully supports windows platforms (lots of them). That isn't the issue. The issue is setting up the #defines to reflect the windows system. e.g. HAVE_DLOPEN needs to be false Reid. On Fri, 2004-12-03 at 20:35, Chris Lattner wrote: > On Fri, 3 Dec 2004, Jeff Cohen wrote: > > > It will have to be Morten. I can't get ltdl.c to compile. But wasn't > > the
2019 Apr 26
2
[ASan][Windows] Interceptor function type not compatible with intercepted function
...making the sanity checking in `ASAN_INTERCEPT_FUNC` a bit stricter. My best guess is that the type of the defined interceptor is not compatible (in C++ typing terms) with the “real” function. This seems to be the case for the following 2 functions: CreateThread “no conversion”: From: 'DWORD (__cdecl *)(void * , __sanitizer::uptr, DWORD (__cdecl *)(void *), void *, DWORD, void * )' To : 'HANDLE (__cdecl *)(LPSECURITY_ATTRIBUTES, SIZE_T , LPTHREAD_START_ROUTINE , LPVOID, DWORD, LPDWORD)' __C_specific_handler: From: 'int (__cdecl *)(vo...
2017 Jan 23
1
os/2 support using Watcom
...libtool... > So you're happy with this patch? > > http://lists.xiph.org/pipermail/flac-dev/2017-January/006170.html > No. Lots of errors such as ../../include/FLAC/export.h:77:18: error: expected identifier or '(' before ')' token #define FLAC_API __declspec(__cdecl) ... as GCC doesn't like the __cdecl macro. If going this route then perhaps, diff --git a/include/FLAC/export.h b/include/FLAC/export.h index d52f0bb..5d40421 100644 --- a/include/FLAC/export.h +++ b/include/FLAC/export.h @@ -66,6 +66,13 @@ #define FLAC_API __declspec(dllimport) #endif +#...
2010 Dec 31
2
[LLVMdev] LLVM on Windows MSVC 10
...VM with Visual Studio 2010: cd build cmake .. -G"NMake Makefiles" nmake and several link steps fail due to a missing symbol: > LLVMX86CodeGen.lib(X86JITInfo.cpp.obj) : error LNK2019: unresolved external symbol X86CompilationCallback referenced in function "public: virtual void (__cdecl*__cdecl llvm::X86JITInfo::getLazyResolverFunction(void * (__cdecl*)(void *)))(void)" (?getLazyResolverFunction at X86JITInfo@llvm@@UEAAP6AXXZP6APEAXPEAX at Z@Z) What can/should I do? Thanks! Ruben
2010 Dec 31
2
[LLVMdev] LLVM on Windows MSVC 10
...quot; >> nmake >> >> and several link steps fail due to a missing symbol: >> >> > LLVMX86CodeGen.lib(X86JITInfo.cpp.obj) : error LNK2019: unresolved >> > external symbol X86CompilationCallback referenced in function "public: >> > virtual void (__cdecl*__cdecl llvm::X86JITInfo::getLazyResolverFunction(void >> > * (__cdecl*)(void *)))(void)" >> > (?getLazyResolverFunction at X86JITInfo@llvm@@UEAAP6AXXZP6APEAXPEAX at Z@Z) >> >> What can/should I do? >> >> Thanks! >> >> Ruben >> >&g...
2018 Dec 11
2
Using LLD to link against third-party libraries? How?
...exe " And I got these warnings and errors from LLD: " lld-link: warning: C:\Users\Osman\AppData\Local\Temp\currency_converter-264ae1.o: locally defined symbol imported: __std_terminate (defined in libvcruntime.lib(ehhelpers.obj)) [LNK4217] lld-link: error: undefined symbol: "public: __cdecl jinja2::Template::Template(class jinja2::TemplateEnv *)" (??0Template at jinja2@@QEAA at PEAVTemplateEnv@1@@Z)​ >>> referenced by C:\Users\Osman\AppData\Local\Temp\currency_converter-264ae1.o:("void __cdecl handle_request<struct boost::beast::http::basic_string_body<char, s...
2020 Apr 16
4
ORC Assertion failure
...edObjectInfo>> LoadedObjInfo, std::map<llvm::StringRef,llvm::JITEvaluatedSymbol,std::less<llvm::StringRef>,std::allocator<std::pair<llvm::StringRef const ,llvm::JITEvaluatedSymbol>>> ResolvedSymbols) Line 149 C++ libravi.dll!llvm::unique_function<llvm::Error __cdecl(std::unique_ptr<llvm::RuntimeDyld::LoadedObjectInfo,std::default_delete<llvm::RuntimeDyld::LoadedObjectInfo>>,std::map<llvm::StringRef,llvm::JITEvaluatedSymbol,std::less<llvm::StringRef>,std::allocator<std::pair<llvm::StringRef const ,llvm::JITEvaluatedSymbol>>>)...
2009 Feb 12
1
problem when using xapian's static libs in windows
...cument::Document(void)" (??0Document at Xapian@@QAE at XZ) libbackend.lib(database.obj) : error LNK2019: ????????? "public: __thiscall Xapian::Database::Database(class Xapian::Database::Internal *)" (??0Database at Xapian@@QAE at PAVInternal@01@@Z)??????? "class Xapian::Database __cdecl Xapian::Quartz::open(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?open at Quartz@Xapian@@YA?AVDatabase at 2@ABV?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@@Z) ???? libbackend.lib(dbfactory_re...
2010 Dec 31
0
[LLVMdev] LLVM on Windows MSVC 10
...;>> >>> and several link steps fail due to a missing symbol: >>> >>> > LLVMX86CodeGen.lib(X86JITInfo.cpp.obj) : error LNK2019: unresolved >>> > external symbol X86CompilationCallback referenced in function "public: >>> > virtual void (__cdecl*__cdecl llvm::X86JITInfo::getLazyResolverFunction(void >>> > * (__cdecl*)(void *)))(void)" >>> > (?getLazyResolverFunction at X86JITInfo@llvm@@UEAAP6AXXZP6APEAXPEAX at Z@Z) >>> >>> What can/should I do? > > I'm using SVN Rev. 122644 (trunk),...
2010 Dec 31
0
[LLVMdev] LLVM on Windows MSVC 10
...> cmake .. -G"NMake Makefiles" > nmake > > and several link steps fail due to a missing symbol: > > > LLVMX86CodeGen.lib(X86JITInfo.cpp.obj) : error LNK2019: unresolved > external symbol X86CompilationCallback referenced in function "public: > virtual void (__cdecl*__cdecl llvm::X86JITInfo::getLazyResolverFunction(void > * (__cdecl*)(void *)))(void)" (?getLazyResolverFunction at X86JITInfo@llvm@ > @UEAAP6AXXZP6APEAXPEAX at Z@Z) > > What can/should I do? > > Thanks! > > Ruben > > ______________________________________________...
2010 May 12
2
[LLVMdev] Linking problems with llvm-2.7, release 64b build with vs2010
...------ 1> Creating library C:/llvm-2.7-src/build/lib/Release/Fibonacci.lib and object C:/llvm-2.7-src/build/lib/Release/Fibonacci.exp 1>LLVMX86CodeGen.lib(X86JITInfo.obj) : error LNK2019: unresolved external symbol X86CompilationCallback referenced in function "public: virtual void (__cdecl*__cdecl llvm::X86JITInfo::getLazyResolverFunction(void * (__cdecl*)(void *)))(void)" (?getLazyResolverFunction at X86JITInfo@llvm@@UEAAP6AXXZP6APEAXPEAX at Z@Z) 1>C:\llvm-2.7-src\build\bin\Release\Fibonacci.exe : fatal error LNK1120: 1 unresolved externals ========== Build: 0 succeeded, 1 f...
2010 Jun 18
3
C interface
Greetings, I am trying to call simple C-code from R. I am on Windows XP with RTools installed. The C-function is #include <R.h> #include <Rinternals.h> #include <Rmath.h> #include <Rdefines.h> // prevent name mangling extern "C" { SEXP __cdecl test(SEXP s){ SEXP result; PROTECT(result = NEW_NUMERIC(1)); double* ptr=NUMERIC_POINTER(result); double t = *REAL(s); double u = t-floor(t)-0.5; if(u>0) *ptr=-1+4*u; else *ptr=-1-4*u; Rprintf("The value is %f", *ptr); UNPROTECT(1); return result; } }; It is compil...
2018 Mar 20
2
lld/lto/win32 crash on DIE code
...Manager::run(llvm::Module & M) Line 1732 C++ Symbols loaded. lld.exe!`anonymous namespace'::codegen(llvm::lto::Config & Conf, llvm::TargetMachine * TM, std::function<std::unique_ptr<llvm::lto::NativeObjectStream,std::default_delete<llvm::lto::NativeObjectStream> > __cdecl(unsigned int)> AddStream, unsigned int Task, llvm::Module & Mod) Line 292 C++ Symbols loaded. lld.exe!llvm::lto::backend(llvm::lto::Config & C, std::function<std::unique_ptr<llvm::lto::NativeObjectStream,std::default_delete<llvm::lto::NativeObjectStream> > __cdecl(u...
2015 Jun 11
2
[LLVMdev] Self compiling latest clang from SVN
...n check, so I repeated the technique of compiling with Microsoft C++ first, then using the resulting clang-cl.exe). It fails with a bunch of error messages along the lines of: LLVMSupport.lib(Atomic.obj) : error LNK2019: unresolved external symbol __faststorefence referenced in function "void __cdecl llvm::sys::MemoryFence(void)" (?MemoryFence at sys@llvm@@YAXXZ) [C:\llvm-svn\build\utils\FileCheck\FileCheck.vcxproj] LLVMSupport.lib(Host.obj) : error LNK2019: unresolved external symbol _xgetbv referenced in function "class llvm::StringRef __cdecl llvm::sys::getHostCPUName(void)" (...
2019 Mar 11
2
llvm compiled error
Hello, when I build llvm from git source, some errors occured. 80>asan_new_delete.obj : error LNK2019: unresolved external symbol "void * __cdecl MemalignFromLocalPool(unsigned __int64,unsigned __int64)" (?MemalignFromLocalPool@@YAPEAX_K0 at Z), "void * __cdecl operator new(unsigned __int64)" (??2 at YAPEAX_K@Z) 80>D:\program\llvm\build\Debug\lib\clang\9.0.0\lib\windows\clang_rt.asan_dynamic-x86_64.dll : fatal error LNK1120...
2018 Dec 11
2
Using LLD to link against third-party libraries? How?
I already mentioned what flag I tried. It's in the first email in this thread. And I want to link against Boost.System and the Jinja2Cpp library (the latter's documentation can be found here: https://github.com/flexferrum/Jinja2Cpp . And I also have some GUI applications using FLTK as well that I want to try to build using LLVM as well, so I'll have to know how to link against
2017 Jan 22
0
os/2 support using Watcom
...e. Will cook something for it, > >> >>> Not sure about the assembly prefix as >>> generally cdecl is correct for OS/2, perhaps test for defined >>> (__WATCOMC__) && defined (__OS2__) >> >> Yeah: Default calling convention for Watcom is not __cdecl >> it is, IIRC, __watcall and it doesn't prepend underscore to the >> symbols > > Yes, why it should only be used by Watcom. > >> >>> >>> Will the GCC built flac8.dll link with Watcom with something like >>> diff --git a/include/FLAC/export....