Quantcast
Channel: Intel® C++ Compiler
Viewing all articles
Browse latest Browse all 1616

__builtin_LINE(), __builtin_FUNCTION(), __builtin_FILE() GCC builtins

$
0
0

Log4cplus, the library I maintain, uses __builtin_LINE(), __builtin_FUNCTION(), __builtin_FILE() builtins ([1]) when they are available. The availability is detected by version check against GCC 4.8 and later. The Intel C++ compiler version 15.0.1 claims GCC version 4.9.0 compatibilty, yet the builtins are not recognized. Are these hidden behind some switch that I do not notice or are they actually not implemented?

[1]: https://gcc.gnu.org/onlinedocs/gcc-4.8.0/gcc/Other-Builtins.html#index-g...

 


Viewing all articles
Browse latest Browse all 1616

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>