Vaibhav
Vaibhav

Reputation: 215

Defining _LIBC in C++ Program

Some of the GNU library code can be have enhanced debugging if the flag _LIBC is set. While using -D_LIBC when compiling gives the error message "/usr/include/gnu/stubs.h:7:3: #error Applications may not define the macro _LIBC"

So how do you define this variable?

Upvotes: 5

Views: 1479

Answers (1)

MSalters
MSalters

Reputation: 179819

You'd define it when compiling LibC. It's Open Source, after all.

Upvotes: 1

Related Questions