Closed
Description
If I'm correct since version 1.1/1.2 there has been the introduction of LOG4CPLUS_CALLER_FILE
, LOG4CPLUS_CALLER_LINE
and LOG4CPLUS_CALLER_FUNCTION
replacing the standard preprocessor macros __FILE__
, __LINE__
and __FUNCTION__
.
What I find strange is that their current definition relies on gcc>=4.8 and its builtin functions (which should return the same thing afaik).
Is there any motivation behind this?
I'm asking this because including log4cplus inside .cu
files and compiling with nvcc (8.0.33) + gcc>=4.8 as host compiler leads to undefined __builtin_*
identifiers