Quantcast
Channel: Active questions tagged gcc - Stack Overflow
Viewing all articles
Browse latest Browse all 22476

Allow a specific undefined reference with GCC

$
0
0

In a C++ program with GCC I am using linker flag -Wl,--no-undefined so the linker will throw an error if there are undefined references. Is there a pragma or something I can put in the code next to a specific symbol that I want to allow to be undefined at link time?


Viewing all articles
Browse latest Browse all 22476

Trending Articles



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