Fwd: tgmath

Javier Múgica javier_3 at runbox.com
Wed Jun 10 07:32:40 PDT 2015


I forgot to attach the promissed preprocessed files.

Also fogot to mention this: When the new file is compiled the following warning is diagnosed:

./tgmath.h:35:38: warning: #include_next with absolute path
#if defined(__STDC_NO_COMPLEX__) || !__has_include_next(<complex.h>)
                                     ^

I would ideally push the diagnostics state, then deactivete this warning, then pop the state after the problematic line, but because the message does not provide de usual -W-... descriptor I couldn't.


The "-hacked" that you see in some file names within the preprocessed files is because I had to hack the file in case I wanted the preprocessor to generate the definitions for the complex functions, given that preprocessing in my computer skips them because _TG_NO_COMPLEX gets (rightly) defined. I had to undefine it by hand and comment out the #include <complex.h> line.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: tgmath-old-preprocessed.h
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150610/7b2aff9d/attachment.h>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: tgmath-new-pre-nocomplex.h
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150610/7b2aff9d/attachment-0001.h>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: tgmath-new-preprocessed.h
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150610/7b2aff9d/attachment-0002.h>


More information about the cfe-commits mailing list