This is the mail archive of the cygwin mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
int main(void) { char buf[10]; snprintf(buf, 10, "%i", 0); return 0; }
$ gcc-3 -std=c99 snprintf.c snprintf.c: In function `main': snprintf.c:6: warning: implicit declaration of function `snprintf'
$ gcc-4 -std=c99 snprintf.c snprintf.c: In function ‘main’: snprintf.c:6: warning: implicit declaration of function ‘snprintf’ snprintf.c:6: warning: incompatible implicit declaration of built-in function ‘snprintf’
Here are package versions checked with cygcheck -c: cygwin: 1.7.0-46 gcc-core: 3.4.4-999 gcc4-core: 4.3.2-2
Attachment:
cygcheck.out
Description: Text document
-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |