search for: wstatic

Displaying 2 results from an estimated 2 matches for "wstatic".

Did you mean: static
2012 Feb 07
5
[LLVMdev] Static ctors in llvm::Attribute
...section about it in the CodingStandards, but we do have: http://llvm.org/docs/CodingStandards.html#ll_iostream ... which talks about the same thing. Anyway, as it turns out, LLVM can optimize those static ctors away in some cases, but not all (e.g. -O0). This was found because LLDB builds with -Wstatic-constructor and this header change is causing a flood of warnings. I can think of two ways to fix this. One is to replace all of these with "get" functions, which would be really really ugly. A better change would be to replace these with enums, eliminating the whole problem. Are 64-...
2012 Feb 07
0
[LLVMdev] Static ctors in llvm::Attribute
...andards, but we do have: > http://llvm.org/docs/CodingStandards.html#ll_iostream > > ... which talks about the same thing. > > Anyway, as it turns out, LLVM can optimize those static ctors away in some > cases, but not all (e.g. -O0). This was found because LLDB builds with > -Wstatic-constructor and this header change is causing a flood of warnings. > > > I can think of two ways to fix this. One is to replace all of these with > "get" functions, which would be really really ugly. grrrr > A better change would be to replace these with enums, eliminat...