, g++, 3, _GNU_SOURCE. , , ( nary a -D_GNU_SOURCE):
<command-line>: error: this is the location of the previous definition
, #undef . , , :
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
, , , . , , . , C ++. GNU, , -D_GNU_SOURCE=1, , - .
, .
#define DBG(x) printf ("_GNU_SOURCE = [" #x "]\n")
DBG(_GNU_SOURCE);