
El 19/03/13 19:10, Cristian Morales Vega escribió:
Can you explain to me why in https://build.opensuse.org/package/rdiff?linkrev=base&package=libebml&projec... you added "-D_GNU_SOURCE" to the CFLAGS? I would have thought it was enough removing the use of "-ansi -fno-gnu-keywords".
In this particular example it does not matter either, the code is compiled with g++ where _GNU_SOURCE is always unconditionally defined anyway. cat test.cpp #define _GNU_SOURCE int main(void) { return 0; } g++ test.cpp g++ test.cpp test.cpp:1:0: warning: "_GNU_SOURCE" redefined [enabled by default] #define _GNU_SOURCE ^ <command-line>:0:0: note: this is the location of the previous definition -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org