Displaying 3 results from an estimated 3 matches for "dummy_snprintf".
2003 Jun 25
2
snprintf, vsnprintf
I'm tracking a compiling issue with 2.2.8a on AIX 5.2-ML01 with IBM C for
AIX 6.0 and i'm having an issue with lib/snprintf.c
The first thing i noticed is that "includes.h" is not included which is
in many other places, but I'm sure there are reaasons.
The other thing is there is a check at the beginning for HAVE_SNPRINTF,
HAVE_VSNPRINTF and HAVE_C99_VSNPRINTF to include
2003 Apr 08
1
compile 11.00 parisc1.1 32-bit fails - snprintf
...he problem seems to be in lib/snprintf.c :
#if defined(HAVE_SNPRINTF) && defined(HAVE_VSNPRINTF) &&
defined(HAVE_C99_VSNPRINTF)
/* only include stdio.h if we are not re-defining snprintf or vsnprintf */
#include <stdio.h>
/* make the compiler happy with an empty file */
void dummy_snprintf(void) {}
#else
<snip>
- if I just run:
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -DHAVE_SNPRINTF -DHAVE_VSNPRINTF
-DHAVE_C99_VSNPRINTF -Wall -W -I./popt -c lib/snprintf.c -o lib/snprintf.o
and then make again, it seems to work.
It seems to me I may have some issue with gcc-lib or with missing HP...
2007 Sep 22
0
rsync build on IA64 using icc
...d setup_iconv();
^
/opt/intel/compilo_9/l_cc_c_9.1.042/bin/icc -c99 -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -c lib/snprintf.c -o lib/snprintf.o
icc: Command line remark: option '-W' not supported
lib/snprintf.c(132): remark #1419: external declaration in primary source file
void dummy_snprintf(void);
^
/opt/intel/compilo_9/l_cc_c_9.1.042/bin/icc -c99 -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -c lib/mdfour.c -o lib/mdfour.o
icc: Command line remark: option '-W' not supported
./proto.h(224): remark #310: old-style parameter list (anachronism)
void setup_iconv();
^...