search for: d__stdc_constant_macro

Displaying 20 results from an estimated 270 matches for "d__stdc_constant_macro".

2014 Aug 01
2
[LLVMdev] LLVM Basic Program Compilation
...quot;#include "llvm/IR/IRBuilder.h" int main(){ llvm::LLVMContext& context = llvm::getGlobalContext(); llvm::Module* module = new llvm::Module("top", context); llvm::IRBuilder<> builder(context); module->dump( );} when i compile with : llvm-g++ try.cpp -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS `llvm-config --cxxflags --ldflags --libs` I get the a.out file. No worries. But, I am interested in getting the LLVM IR file.So, I compiled with llvm-g++ try.cpp -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -S -emit-llvm lli try.s I get an error saying LLVM ERROR: P...
2010 Apr 10
3
[LLVMdev] darwin dragon-egg build issues
...c --enable-targets=host-only Since the gcc45 package installs symlinks to the compilers in /sw/bin as gcc-4, g++-4, etc, I executed... GCC=/sw/bin/gcc-4 LLVM_CONFIG=/sw/lib/llvm/bin/llvm-config make This fails with... g++ -c -I/sw/lib/llvm/include -D_DEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -MD -MP -DIN_GCC -DREVISION=\"100909M\" -DTARGET_NAME=\"x86_64-apple-darwin10.3.0\" -I/Users/howarth/llvm_svn/dragonegg -Iplugin/include -Wall -Werror -I/sw/lib/llvm/include -D_DEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -O2 -fno-exceptions -fno-rtti -f...
2015 Oct 06
2
Extra space in LLVM_DEFINITIONS causes CMake 3.1 to fail
LLVM_DEFINITIONS used to be defined as set(LLVM_DEFINITIONS "-D__STDC_LIMIT_MACROS" "-D__STDC_CONSTANT_MACROS") Now it is defined as set(LLVM_DEFINITIONS " -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS") (note that it is no longer a cmake list but a string, and the string contains a leading space!) This causes CMake 3.1 to emit g++ -D -D__STDC_CONSTANT_MACROS -...
2014 Aug 01
3
[LLVMdev] LLVM Basic Program Compilation
...quot;#include "llvm/IR/IRBuilder.h" int main(){ llvm::LLVMContext& context = llvm::getGlobalContext(); llvm::Module* module = new llvm::Module("top", context); llvm::IRBuilder<> builder(context); module->dump( );} when i compile with : llvm-g++ try.cpp -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS `llvm-config --cxxflags --ldflags --libs` I get the a.out file. No worries. But, I am interested in getting the LLVM IR file.So, I compiled with llvm-g++ try.cpp -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -S -emit-llvm lli try.s I get an error saying LLVM ERROR: P...
2009 Mar 04
2
[LLVMdev] Fwd: PPC Nightly Build Result
...oots/llvmCore~dst/De > veloper/usr/local/include -I/Volumes/SandBox/NightlyTest/ > llvmCore.roots/llvmCore~obj/src/include -DENABLE_LLVM -I/Volumes/ > SandBox/NightlyTest/llvmCore.roots/llvmCore~dst/Developer/usr/local/ > include -D_DEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS - > D__STDC_CONSTANT_MACROS -DLLVM_VERSION_INFO='"9999"' /Volumes/ > SandBox/NightlyTest/llvmgcc42.roots/llvmgcc42~obj/src/gcc/builtins.c > -o builtins.o > /Volumes/SandBox/NightlyTest/llvmgcc42.roots/llvmgcc42~obj/obj- > powerpc-powerpc/./prev-gcc/xgcc -B/Volumes/SandBox/NightlyTest/ &gt...
2009 Mar 05
0
[LLVMdev] Fwd: PPC Nightly Build Result
...> > veloper/usr/local/include -I/Volumes/SandBox/NightlyTest/ > > llvmCore.roots/llvmCore~obj/src/include -DENABLE_LLVM -I/Volumes/ > > SandBox/NightlyTest/llvmCore.roots/llvmCore~dst/Developer/usr/local/ > > include  -D_DEBUG  -D_GNU_SOURCE -D__STDC_LIMIT_MACROS - > > D__STDC_CONSTANT_MACROS -DLLVM_VERSION_INFO='"9999"'   /Volumes/ > > SandBox/NightlyTest/llvmgcc42.roots/llvmgcc42~obj/src/gcc/builtins.c   > > -o builtins.o > > /Volumes/SandBox/NightlyTest/llvmgcc42.roots/llvmgcc42~obj/obj- > > powerpc-powerpc/./prev-gcc/xgcc -B/Volumes/SandBox...
2009 Mar 05
1
[LLVMdev] Fwd: PPC Nightly Build Result
...loper/usr/local/include -I/Volumes/SandBox/NightlyTest/ >>> llvmCore.roots/llvmCore~obj/src/include -DENABLE_LLVM -I/Volumes/ >>> SandBox/NightlyTest/llvmCore.roots/llvmCore~dst/Developer/usr/local/ >>> include -D_DEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS - >>> D__STDC_CONSTANT_MACROS -DLLVM_VERSION_INFO='"9999"' /Volumes/ >>> SandBox/NightlyTest/llvmgcc42.roots/llvmgcc42~obj/src/gcc/builtins.c >>> -o builtins.o >>> /Volumes/SandBox/NightlyTest/llvmgcc42.roots/llvmgcc42~obj/obj- >>> powerpc-powerpc/./prev-gcc/xgcc -B/Volum...
2011 Apr 08
4
[LLVMdev] dragonegg build failure
> Is there anything I can do to make the build more verbose so I can debug this? make VERBOSE=1
2015 Oct 06
2
Extra space in LLVM_DEFINITIONS causes CMake 3.1 to fail
...ller-Roemer, Johannes Sebastian via llvm-dev Sent: Tuesday, October 06, 2015 09:36 To: llvm-dev at lists.llvm.org Subject: [llvm-dev] Extra space in LLVM_DEFINITIONS causes CMake 3.1 to fail LLVM_DEFINITIONS used to be defined as set(LLVM_DEFINITIONS "-D__STDC_LIMIT_MACROS" "-D__STDC_CONSTANT_MACROS") Now it is defined as set(LLVM_DEFINITIONS " -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS") (note that it is no longer a cmake list but a string, and the string contains a leading space!) This causes CMake 3.1 to emit g++ -D -D__STDC_CO...
2011 Apr 08
0
[LLVMdev] dragonegg build failure
...ib/gcc4.5/bin/gcc-4 LLVM_CONFIG=/sw/bin/llvm-config make VERBOSE=1 CPPFLAGS="-DENABLE_LTO -I/sw/include" Compiling utils/TargetInfo.cpp g++ -c -DTARGET_TRIPLE=\"x86_64-apple-darwin10.7.0\" \ -DENABLE_LTO -I/sw/include -I/sw/include -D_DEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -MD -MP -DIN_GCC -DREVISION=\"exported\" -DGCC_MAJOR=4 -DGCC_MINOR=5 -I/sw/src/fink.build/dragonegg-gcc45-2.9-1/dragonegg-2.9 -I/sw/src/fink.build/dragonegg-gcc45-2.9-1/dragonegg-2.9/ADT -I/sw/lib/gcc4.5/lib/gcc/x86_64-apple-darwin10.7.0/4.5.3/plugin/include -Wall -Wextra -fvisibility=hi...
2009 May 27
2
[LLVMdev] CMake build maturity
...ggle2:~/c/llvm-svn> make install > melis at juggle2:~/c/llvm-svn> which llvm-config > /home/melis/llvm/bin/llvm-config > melis at juggle2:~/c/llvm-svn> llvm-config --cxxflags --ldflags --libs core > -I/home/melis/llvm/include -D_DEBUG -D_GNU_SOURCE > -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -O3 -fomit-frame-pointer > -fPIC -Woverloaded-virtual > -L/home/melis/llvm/lib -lpthread -ldl -lm -lelf > -lLLVMCore -lLLVMSupport -lLLVMSystem > > melis at juggle2:~/c/llvm-svn-build> cmake /home/melis/c/llvm-svn > -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/home/mel...
2012 Dec 07
2
[LLVMdev] dragonegg now requires clang
...-version > /dev/null Compiling utils/TargetInfo.cpp /sw/lib/gcc4.7/bin/g++-4 -c -DTARGET_TRIPLE=\"x86_64-apple-darwin12.2.0\" \ -g -DENABLE_LTO -I/sw/include -I/sw/opt/llvm-3.2/include -Wall -W -Wno-unused-parameter -Wwrite-strings -pedantic -Wno-long-long -Wcovered-switch-default -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -fno-rtti -MD -MP -DIN_GCC -DLLVM_VERSION=\"3.2svn\" -DGCC_MAJOR=4 -DGCC_MINOR=7 -DGCC_MICRO=2 -I/sw/src/fink.build/dragonegg-gcc47-3.2-0/dragonegg-3.2/include -isystem/sw/lib/gcc4.7/lib/gcc/x86_64-apple-darwin12.2.0/4.7.2/plugin/include -Wall...
2017 Nov 26
5
Compilation issue "unsupported relocation on symbol" with clang 3.7.1
...ct projects/compiler-rt/lib/built...s/CMakeFiles/clang_rt.builtins-armv6m.dir/arm/aeabi_memcmp.S.o FAILED: projects/compiler-rt/lib/builtins/CMakeFiles/clang_rt.builtins-armv6m.dir/arm/aeabi_memcmp.S.o /usr/bin/clang -DLLVM_BUILD_GLOBAL_ISEL -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Iprojects/compiler-rt/lib/builtins -I../projects/compiler-rt/lib/builtins -Iinclude -I../include -fPIC -O3 -DNDEBUG -march=armv6m -mfloat-abi=soft -fno-lto -MD -MT projects/compiler-rt/lib/builtins/CMakeFiles/clang_rt.builtins-armv6m.dir/arm/aeabi_memc...
2015 Jul 30
2
[LLVMdev] Ideas for making llvm-config --cxxflags more useful
...ers are required in most cases to filter out flags they don't want. I would like to try to fix this so that it reports only the bare minimum of required flags. As an example here all the flags that it reports in my autoconf build of llvm: -I/usr/local/llvm/3.8/include -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O3 -fomit-frame-pointer -std=c++11 -fvisibility-inlines-hidden -fno-exceptions -fno-rtti -fPIC -ffunction-sections -fdata-sections -Wcast-qual Of these flags the only ones that are really required are (c++ experts please correct me if I'm wrong he...
2010 Apr 10
0
[LLVMdev] darwin dragon-egg build issues
...nce the gcc45 package installs symlinks to the compilers > in /sw/bin as gcc-4, g++-4, etc, I executed... > > GCC=/sw/bin/gcc-4 LLVM_CONFIG=/sw/lib/llvm/bin/llvm-config make > > This fails with... > > g++ -c -I/sw/lib/llvm/include -D_DEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -MD -MP -DIN_GCC -DREVISION=\"100909M\" -DTARGET_NAME=\"x86_64-apple-darwin10.3.0\" -I/Users/howarth/llvm_svn/dragonegg -Iplugin/include -Wall -Werror -I/sw/lib/llvm/include -D_DEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -O2 -fno-exceptions -fno-rtti -f...
2012 Apr 08
1
[LLVMdev] LLVM show error preprocessor "Must #define __STDC_LIMIT_MACROS before #including Support/DataTypes.h"
...de of Ocelot[http://code.google.com/p/gpuocelot/]. It using LLVM dependency of Ocelot. llvm-config get cppflags represent as below in order to build with Ocelot. ./llvm-config --cppflags -I/home/chatsiri/workspacecpp/llvm/include -I/home/chatsiri/workspacecpp/llvm/include -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS Why DataType.h line 49 through error as #error "Must #define __STDC_LIMIT_MACROS before #including Support/DataTypes.h" g++ -o .release_build/ocelot/ir/implementation/ExternalFunctionSet.os -c -O2 -Wall -Werror -std=c++0x "-I/home/c...
2012 Dec 07
2
[LLVMdev] dragonegg now requires clang
...;> Compiling utils/TargetInfo.cpp >> /sw/lib/gcc4.7/bin/g++-4 -c -DTARGET_TRIPLE=\"x86_64-apple-darwin12.2.0\" \ >> -g -DENABLE_LTO -I/sw/include -I/sw/opt/llvm-3.2/include -Wall -W -Wno-unused-parameter -Wwrite-strings -pedantic -Wno-long-long -Wcovered-switch-default -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -fno-rtti -MD -MP -DIN_GCC -DLLVM_VERSION=\"3.2svn\" -DGCC_MAJOR=4 -DGCC_MINOR=7 -DGCC_MICRO=2 -I/sw/src/fink.build/dragonegg-gcc47-3.2-0/dragonegg-3.2/include -isystem/sw/lib/gcc4.7/lib/gcc/x86_64-apple-darwin12.2.0/4.7.2/plugin/include -Wall...
2017 Aug 06
2
Compile issues with LLVM ORC JIT
...lingcontribJIT.cpp PWD:/home/ikuehl/projects-llvm/TurboLisp/domainEngineer Sourcefile:contribJIT Sourcefile type:cpp source sub-folder:src/contrib Compiler:/usr/local/bin/clang++COMPILE_FLAG option:-v -g0 -fPIC -fno-use-cxa-atexit -emit-llvm -I/usr/local/include -I/opt/BOOST/include -std=c++14-D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS LLVM_CONFIG_COMPILE option:-I/usr/local/include -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS option:-emit-llvm sub-path:contrib lto:-flto=thin -O3 iftest "contrib"="contrib/parser";then cd bin/x86_64/contrib;`/us...
2010 Apr 11
7
[LLVMdev] darwin dragon-egg build issues
...hange, I think I am bumping into a bug with building dragon-egg with gcc 4.5.0... 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 -MP -DIN_GCC -DREVISION=\"100954M\" -DTARGET_NAME=\"x86_64-apple-darwin10.3.0\" -I/Users/howarth/llvm_svn/dragonegg -I/sw/lib/gcc4.5/lib/gcc/x86_64-apple-darwin10.3.0/4.5.0/plugin/include -I/Users/howarth/llvm_svn/dragonegg/x86 -I/Users/howarth/llvm_svn/dragonegg/darwin -I/...
2009 Jun 01
0
[LLVMdev] CMake build maturity
...t; make install >> melis at juggle2:~/c/llvm-svn> which llvm-config >> /home/melis/llvm/bin/llvm-config >> melis at juggle2:~/c/llvm-svn> llvm-config --cxxflags --ldflags --libs core >> -I/home/melis/llvm/include -D_DEBUG -D_GNU_SOURCE >> -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -O3 -fomit-frame-pointer >> -fPIC -Woverloaded-virtual >> -L/home/melis/llvm/lib -lpthread -ldl -lm -lelf >> -lLLVMCore -lLLVMSupport -lLLVMSystem >> >> melis at juggle2:~/c/llvm-svn-build> cmake /home/melis/c/llvm-svn >> -DCMAKE_BUILD_TYPE=Release -DCMAKE_...