A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/log4cplus/log4cplus/issues/375 below:

Definition of LOG4CPLUS_CALLER_* does not compile with NVCC in CUDACC mode · Issue #375 · log4cplus/log4cplus · GitHub

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


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4