Displaying 20 results from an estimated 129 matches for "d__stdc_format_macro".
Did you mean:
d__stdc_format_macros
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 -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS [...]
when LLVM_DEFINITIONS is used via target_compile_defini...
2012 Dec 07
2
[LLVMdev] dragonegg now requires clang
...ompiling 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 -Wextra -DENABLE_LLVM_...
2017 Nov 26
5
Compilation issue "unsupported relocation on symbol" with clang 3.7.1
...ib/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_memcmp.S.o -MF projects/com...
2015 Jul 30
2
[LLVMdev] Ideas for making llvm-config --cxxflags more useful
...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 here):
-I/usr/local/llvm...
2012 Apr 08
1
[LLVMdev] LLVM show error preprocessor "Must #define __STDC_LIMIT_MACROS before #including Support/DataTypes.h"
...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/chatsiri/workspacecpp/ll...
2012 Dec 07
2
[LLVMdev] dragonegg now requires clang
...getInfo.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 -Wextra -DENABLE_LLVM_...
2020 Apr 23
3
Cannot build master
...ASTMatchers.a
> lib/libclangDriver.a lib/libclangToolingCore.a lib/libclangAST.a
> lib/libclangRewrite.a lib/libclangLex.a lib/libclangBasic.a
> lib/libLLVM-11git.so && :
> [5803/7319] /usr/lib/llvm/10/bin/clang++ -D_GNU_SOURCE
> -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
> -Itools/clang/tools/driver
> -I/home/laguest/src/mine-new/llvm/llvm-project/clang/tools/driver
> -I/home/laguest/src/mine-new/llvm/llvm-project/clang/include
> -Itools/clang/include -I/usr/include/libxml2 -Iinclude
> -I/home/laguest/src/mi...
2015 Oct 06
2
Extra space in LLVM_DEFINITIONS causes CMake 3.1 to fail
...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_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS […]
when LLVM_DEFINITIONS is used via target_comp...
2012 Dec 07
0
[LLVMdev] dragonegg now requires clang
...tils/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 -Wextra -DENABLE_LLVM_...
2020 Apr 23
2
Cannot build master
...ou do have that library available, it's missing expected features.
On Thu, Apr 23, 2020 at 12:29 PM Luke A. Guest via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> Here's the error:
>
> [1921/7570] /usr/lib/llvm/10/bin/clang++ -D_GNU_SOURCE
> -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
> -Itools/clang/utils/TableGen
> -I/home/laguest/src/mine-new/llvm/llvm-project/clang/utils/TableGen
> -I/home/laguest/src/mine-new/llvm/llvm-project/clang/include
> -Itools/clang/include -I/usr/include/libxml2 -Iinclude
> -I/home/laguest/src/mine-new/llvm/llvm...
2015 Apr 01
2
[LLVMdev] Dynamic linking (dlopen/dlsym) against LLVM from a C program
...ed.
The link line I'm using is:
clang -Wall -Wmissing-prototypes -Wpointer-arith
-Wdeclaration-after-statement -Wendif-labels
-Wmissing-format-attribute -Wformat-security -fno-strict-aliasing
-fwrapv -g -g -O0 -fpic -I/usr/lib/llvm-3.5/include -DNDEBUG
-D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
-D__STDC_LIMIT_MACROS -g -O2 -fomit-frame-pointer -fPIC
-Wno-ignored-attributes -shared -o pgjit.so pgjit.o
-L/usr/local/pgsql/lib -Wl,--no-as-needed
-Wl,-rpath,'/usr/local/pgsql/lib',-rpath,'/usr/lib/llvm-3.5/lib',--enable-new-dtags
-I/usr/lib/llvm-3.5/include -DNDEBUG -D_GNU_SOU...
2012 Dec 07
0
[LLVMdev] dragonegg now requires clang
...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 -Wextra -DENABLE_LLVM_...
2015 Aug 03
8
[LLVMdev] Ideas for making llvm-config --cxxflags more useful
...ix 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...
2014 May 09
2
[LLVMdev] Build failure with libcxx
Hi,
Recently my libcxx enabled llvm/clang builds has started to fail in stage2.
I must admit I am stomped because I cannot make sense of the error:
[ 723s] FAILED: /home/abuild/rpmbuild/BUILD/llvm/stage1/bin/clang++
-DLLVMSupport_EXPORTS -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS
-D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -stdlib=libc++ -fPIC
-fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings
-Wmissing-field-initializers -pedantic -Wno-long-long
-Wcovered-switch-default -Wnon-virtual-dtor -std=c++11 -fcolor-diagnostics
-ffunction-sections -fdata-sections -O2 -g -DNDEBUG...
2012 Sep 27
2
[LLVMdev] LLVM build fails using gcc-4.7.0 and -std=c++11 flags
I just updated my llvm sources (revision 164794.) and I see the error,
"overriding non-deleted function" when building with gcc 4.7.0 and
passing -std=c++11.
/usr2/sidneym/llvm/tools/install/bin/c++ -D_GNU_SOURCE -D_DEBUG
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-std=c++11 -fPIC -fvisibility-inlines-hidden
-I/local/scratch/llvm-tmp/build/lib/VMCore
-I/local/scratch/llvm-tmp/llvm/lib/VMCore
-I/local/scratch/llvm-tmp/build/include
-I/local/scratch/llvm-tmp/llvm/include -Wall -W -Wno-unused-parameter
-Wwrite-strings -pedantic -...
2015 Sep 09
5
Building LLVM and Clang using Clang?
...-f lib/Support/CMakeFiles/LLVMSupport.dir/build.make
lib/Support/CMakeFiles/LLVMSupport.dir/build
stark 26463 0.0 0.0 4328 752 pts/6 S+ 18:50 0:00
/bin/sh -c cd /home/stark/src/llvm-build/lib/Support && /usr/bin/c++
-DGTEST_HAS_RTTI=0 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS
-D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -fPIC
-fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter
-Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic
-Wno-long-long -Wno-maybe-uninitialized -Wnon-virtual-dtor
-Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O3
-DNDEBUG -fPIC -I/...
2018 Jul 31
2
LLJVM make error
...IC -fvisibility-inlines-hidden -std=c++11
-Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual
-Wno-missing-field-initializers -pedantic -Wno-long-long
-Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -g
-fno-exceptions -fno-rtti -D_GNU_SOURCE -D_DEBUG -D__STDC_CONSTANT_MACROS
-D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -L/usr/local/lib
-lLLVMSelectionDAG -lLLVMCodeGen -lLLVMTarget -lLLVMScalarOpts
-lLLVMInstCombine -lLLVMTransformUtils -lLLVMBitWriter -lLLVMAnalysis
-lLLVMProfileData -lLLVMObject -lLLVMMCParser -lLLVMMC -lLLVMBitReader
-lLLVMCore -lLLVMBinaryFormat -lLLVMSupport -lLLVMDeman...
2012 Mar 14
0
[LLVMdev] llvm-config --cxxflags does not give the result the configuration script wants?
Jun-qi Deng <dengjunqi06323011 at gmail.com> writes:
>> Is it? In my experience, it isn't. Please show the relevant command
>> generated by your makefile and the associated error message(s).
>>
>
>> RTTI is an on/off option that changes per LLVM library, so setting
>> -fno-rtti for using LLVM makes no sense. VMCore and Support have -frtti
>> while
2013 Dec 09
0
[LLVMdev] dragonegg 3.4 branch broken
...iling Debug.cpp
/sw/opt/llvm-3.4/bin/clang++ -c -I/sw/src/fink.build/dragonegg-gcc48-3.4-0/dragonegg-3.4/include/x86 -I/sw/src/fink.build/dragonegg-gcc48-3.4-0/dragonegg-3.4/include/darwin -g -DENABLE_BUILD_WITH_CXX -DENABLE_LTO -I/sw/include -I/sw/opt/llvm-3.4/include -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -fno-rtti -MD -MP -DIN_GCC -DLLVM_VERSION=\"3.4svn\" -DTARGET_TRIPLE=\"x86_64-apple-darwin12.5.0\" -DGCC_MAJOR=4 -DGCC_MINOR=8 -DGCC_MICRO=2 -I/sw/src/fink.build/dragonegg-gcc48-3.4-0/dragonegg-3.4/include -isystem/sw/lib/gcc4.8/lib/gcc/x86_64-apple-darwin...
2015 Dec 08
3
compiler-rt fails to find <stdarg.h> on FreeBSD
...r FreeBSD
HEAD, I now get a failure to find <stdarg.h>. Very strange. Maybe its
missing a -I /usr/include somewhere?
[1950/2811] Building CXX object
projects/compiler-rt/lib/tsan/CMakeFiles/clang_rt.tsan-x86_64.dir/rtl/tsan_interceptors.cc.o
FAILED: /usr/bin/CC -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
-D__STDC_LIMIT_MACROS -fPIC -fvisibility-inlines-hidden -Wall -W
-Wno-unused-parameter -Wwrite-strings -Wcast-qual
-Wmissing-field-initializers -pedantic -Wno-long-long
-Wcovered-switch-default -Wnon-virtual-dtor -std=c++11
-fcolor-diagnostics -Wall -std=c++11 -g -Iprojects/compiler-rt/lib/tsan
-I...