You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When compiling with GCC version 6, the compiler warns about an implicit function declaration:
$ gcc --version
gcc (Debian 6.1.1-11) 6.1.1 20160802
Copyright (C) 2016 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ gcc -DUNIX64 -c -o inform.o inform.c
In file included from inform.c:11:0:
header.h: In function ‘unique_task_id’:
header.h:457:19: warning: implicit declaration of function ‘getpid’ [-Wimplicit-function-declaration]
{ return (int32)getpid();
^~~~~~
This indicates an existing problem (functions should be explicitly declared) that was not being reported by some earlier compiler versions.
The text was updated successfully, but these errors were encountered:
When compiling with GCC version 6, the compiler warns about an implicit function declaration:
This indicates an existing problem (functions should be explicitly declared) that was not being reported by some earlier compiler versions.
The text was updated successfully, but these errors were encountered: