All, Invoking /usr/bin/g++ with -pg emits compatibility linker warnings. For example, consider the following program: int main() { return 0; } Compiling with gcc -pg succeeds. Compiling with g++ -pg emits the following warnings: /usr/lib/libc.so.12: warning: warning: reference to compatibility gmtime_r(); include <time.h> for correct reference /usr/lib/libc.so.12: warning: warning: reference to compatibility offtime(); include <time.h> for correct reference /usr/lib/libc.so.12: warning: warning: reference to compatibility tzsetwall(); include <time.h> for correct reference /usr/lib/libc.so.12: warning: warning: reference to compatibility timeoff(); include <time.h> for correct reference /usr/lib/libc.so.12: warning: warning: reference to compatibility ctime_r(); include <time.h> for correct reference /usr/lib/libc.so.12: warning: warning: reference to compatibility timelocal(); include <time.h> for correct reference /usr/lib/libc.so.12: warning: warning: reference to compatibility timegm(); include <time.h> for correct reference /usr/lib/libc.so.12: warning: warning: reference to compatibility localtime_r(); include <time.h> for correct reference /usr/lib/libc.so.12: warning: warning: reference to compatibility time2posix(); include <time.h> for correct reference /usr/lib/libc.so.12: warning: warning: reference to compatibility tzset(); include <time.h> for correct reference /usr/lib/libc.so.12: warning: warning: reference to compatibility posix2time(); include <time.h> for correct reference Aran
Attachment:
signature.asc
Description: This is a digitally signed message part.