ldc-developers/ldc — Issue #15: Build Errors
Author: dsimcha
Created: 2011-11-11 16:10:41+00:00
State: open

Using LLVM 2.9 and GCC 4.4.3, trying to build LDC2 trunk:

{{{
/home/dsimcha/ldcStuff/ldc/gen/configfile.cpp: In member function ‘bool ConfigFile::read(const char*, void*, const char*)’:
/home/dsimcha/ldcStuff/ldc/gen/configfile.cpp:117: error: invalid use of incomplete type ‘struct libconfig::Config’
/home/dsimcha/ldcStuff/ldc/./gen/configfile.h:9: error: forward declaration of ‘struct libconfig::Config’
/home/dsimcha/ldcStuff/ldc/gen/configfile.cpp:120: error: invalid use of incomplete type ‘struct libconfig::Config’
/home/dsimcha/ldcStuff/ldc/./gen/configfile.h:9: error: forward declaration of ‘struct libconfig::Config’
/home/dsimcha/ldcStuff/ldc/gen/configfile.cpp:125: error: ‘Setting’ is not a member of ‘libconfig’
/home/dsimcha/ldcStuff/ldc/gen/configfile.cpp:125: error: ‘root’ was not declared in this scope
/home/dsimcha/ldcStuff/ldc/gen/configfile.cpp:125: error: invalid use of incomplete type ‘struct libconfig::Config’
/home/dsimcha/ldcStuff/ldc/./gen/configfile.h:9: error: forward declaration of ‘struct libconfig::Config’
/home/dsimcha/ldcStuff/ldc/gen/configfile.cpp:137: warning: ‘llvm::StringRef llvm::sys::Path::getDirname() const’ is deprecated (declared at /home/dsimcha/apps/include/llvm/Support/PathV1.h:283)
/home/dsimcha/ldcStuff/ldc/gen/configfile.cpp:139: error: ‘Setting’ is not a member of ‘libconfig’
/home/dsimcha/ldcStuff/ldc/gen/configfile.cpp:139: error: ‘arr’ was not declared in this scope
/home/dsimcha/ldcStuff/ldc/gen/configfile.cpp:139: error: invalid use of incomplete type ‘struct libconfig::Config’
/home/dsimcha/ldcStuff/ldc/./gen/configfile.h:9: error: forward declaration of ‘struct libconfig::Config’
/home/dsimcha/ldcStuff/ldc/gen/configfile.cpp:155: error: expected type-specifier
/home/dsimcha/ldcStuff/ldc/gen/configfile.cpp:155: error: expected unqualified-id before ‘&’ token
/home/dsimcha/ldcStuff/ldc/gen/configfile.cpp:155: error: expected ‘)’ before ‘&’ token
/home/dsimcha/ldcStuff/ldc/gen/configfile.cpp:155: error: expected ‘{’ before ‘&’ token
/home/dsimcha/ldcStuff/ldc/gen/configfile.cpp:155: error: ‘fioe’ was not declared in this scope
/home/dsimcha/ldcStuff/ldc/gen/configfile.cpp:155: error: expected ‘;’ before ‘)’ token
/home/dsimcha/ldcStuff/ldc/gen/configfile.cpp:160: error: expected primary-expression before ‘catch’
/home/dsimcha/ldcStuff/ldc/gen/configfile.cpp:160: error: expected ‘;’ before ‘catch’
/home/dsimcha/ldcStuff/ldc/gen/configfile.cpp:166: error: expected primary-expression before ‘catch’
/home/dsimcha/ldcStuff/ldc/gen/configfile.cpp:166: error: expected ‘;’ before ‘catch’
}}}