Displaying 5 results from an estimated 5 matches for "__stdc_hosted__".
2017 May 11
3
problem (and fix) with -fms-extensions
...ng revision 1.1.1.4
diff -u -p -r1.1.1.4 InitPreprocessor.cpp
--- lib/Frontend/InitPreprocessor.cpp 14 Mar 2017 08:07:56 -0000 1.1.1.4
+++ lib/Frontend/InitPreprocessor.cpp 11 May 2017 17:54:41 -0000
@@ -366,6 +366,8 @@ static void InitializeStandardPredefined
else
Builder.defineMacro("__STDC_HOSTED__");
+ if (LangOpts.MicrosoftMode)
+ Builder.defineMacro("__ms_extensions__", 1);
if (!LangOpts.CPlusPlus) {
if (LangOpts.C11)
Builder.defineMacro("__STDC_VERSION__", "201112L");
-------------- next part --------------
Index: lib/Frontend/InitPr...
2008 May 14
0
[LLVMdev] malloc, magic, and embedded compilation
> 1. The particular optimization that was done there was based on the
> compiler substituting an alternate implementation of malloc(). This may
> not be appropriate in kernel or deeply embedded systems. Is there a way
> for someone who is building that sort of system to enable/disable the
> builtin library magic selectively?
-ffreestanding
> I assume that LLVM can support
2017 May 12
2
problem (and fix) with -fms-extensions
...processor.cpp
> > --- lib/Frontend/InitPreprocessor.cpp 14 Mar 2017 08:07:56 -0000 1.1.1.4
> > +++ lib/Frontend/InitPreprocessor.cpp 11 May 2017 17:54:41 -0000
> > @@ -366,6 +366,8 @@ static void InitializeStandardPredefined
> > else
> > Builder.defineMacro("__STDC_HOSTED__");
> >
> > + if (LangOpts.MicrosoftMode)
> > + Builder.defineMacro("__ms_extensions__", 1);
> > if (!LangOpts.CPlusPlus) {
> > if (LangOpts.C11)
> > Builder.defineMacro("__STDC_VERSION__", "201112L");
>
>...
2008 May 14
4
[LLVMdev] malloc, magic, and embedded compilation
The discussion of malloc optimization from two (three?) weeks ago
prompts me to be concerned about implications for kernel compilation.
Basically, I have two questions:
1. The particular optimization that was done there was based on the
compiler substituting an alternate implementation of malloc(). This may
not be appropriate in kernel or deeply embedded systems. Is there a way
for someone who is
2005 Sep 19
1
ssh hangs or gives Segmentation fault
...define __LDBL_MAX__ 1.18973149535723176502e+4932L
#define __linux 1
#define __unix 1
#define __LDBL_MAX_EXP__ 16384
#define __LONG_MAX__ 2147483647L
#define __linux__ 1
#define __SCHAR_MAX__ 127
#define __DBL_DIG__ 15
#define __USER_LABEL_PREFIX__
#define linux 1
#define __tune_pentium__ 1
#define __STDC_HOSTED__ 1
#define __LDBL_MANT_DIG__ 64
#define __FLT_EPSILON__ 1.19209290e-7F
#define __LDBL_MIN__ 3.36210314311209350626e-4932L
#define __WCHAR_TYPE__ long int
#define __FLT_DIG__ 6
#define __FLT_MAX_10_EXP__ 38
#define __INT_MAX__ 2147483647
#define __gnu_linux__ 1
#define __FLT_MAX_EXP__ 128
#define __D...