This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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]

Problem with <cstdio> and AIX 4.3.3


Not sure this is the right place, but here goes.  I am having a problem with
a file fixincludes created.  The following are the lines in question from
/usr/local/lib/gcc-lib/rs6000-ibm-aix4.3.3.0/3.0.1/include/stdio.h and the
error excerpt from the complier.

Any ideas would be greatly appreciated...

...

262
263 #ifdef _DUMMY_VA_LIST
264 extern int	vfprintf(FILE *, const char *, __gnuc_va_list);
265 extern int	vprintf(const char *, __gnuc_va_list);
266 extern int	vsprintf(char *, const char *, __gnuc_va_list);
267 #if (_XOPEN_SOURCE == 500)
268 extern int	vsnprintf(char *, size_t, const char *, __gnuc_va_list);
269 #endif /* _XOPEN_SOURCE == 500 */
270 #else
271 #define _HIDDEN_DUMMY_VA_LIST         /* define a type not in the
namespace */
272 #include <va_list.h>
273 extern int	vfprintf(FILE *, const char *, __gnuc_va_list);
274 extern int	vprintf(const char *, __gnuc_va_list);
275 extern int	vsprintf(char *, const char *, __gnuc_va_list);
276 #if (_XOPEN_SOURCE == 500)
277 extern int	vsnprintf(char *, size_t, const char *, __gnuc_va_list);
278 #endif /* _XOPEN_SOURCE == 500 */
279 #endif /* _DUMMY_VA_LIST */

...

The error message...
|| Compiling com_bmf.c
|| g++ -c  -I/usr/include -I../include -D__AIX__ -D__UNIX__ com_bmf.c
|| In file included from /usr/local/include/g++-v3/bits/std_cstdio.h:41,
|| from /usr/local/include/g++-v3/cstdio:31,
|| from ../include/com_os.h:61,
|| from ../include/com_gen.h:29,
|| from ../include/com_ehs.h:38,
|| from ../include/com_bmf.h:32,
|| from com_bmf.c:25:
/usr/local/lib/gcc-lib/rs6000-ibm-aix4.3.3.0/3.0.1/include/stdio.h|273| type
|| specifier omitted for parameter
/usr/local/lib/gcc-lib/rs6000-ibm-aix4.3.3.0/3.0.1/include/stdio.h|274| type
|| specifier omitted for parameter
/usr/local/lib/gcc-lib/rs6000-ibm-aix4.3.3.0/3.0.1/include/stdio.h|275| type
|| specifier omitted for parameter
/usr/local/lib/gcc-lib/rs6000-ibm-aix4.3.3.0/3.0.1/include/stdio.h|277| type
|| specifier omitted for parameter
|| In file included from /usr/local/include/g++-v3/bits/std_cstdio.h:41,
|| from /usr/local/include/g++-v3/cstdio:31,
|| from ../include/com_os.h:61,
|| from ../include/com_gen.h:29,
|| from ../include/com_ehs.h:38,
|| from ../include/com_bmf.h:32,
|| from com_bmf.c:25:
/usr/local/lib/gcc-lib/rs6000-ibm-aix4.3.3.0/3.0.1/include/stdio.h|465| type
|| specifier omitted for parameter
/usr/local/lib/gcc-lib/rs6000-ibm-aix4.3.3.0/3.0.1/include/stdio.h|466| type
|| specifier omitted for parameter
/usr/local/lib/gcc-lib/rs6000-ibm-aix4.3.3.0/3.0.1/include/stdio.h|467| type
|| specifier omitted for parameter
|| make: 1254-004 The error code from the last command is 1.
||
||
|| Stop.

Chip Cuntz
Worldcom
v622.1305/719.535.1305





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]