[warning-fix][too-many-arguments-for-format]
This commit is contained in:
+1
-1
@@ -258,7 +258,7 @@ va_dcl {
|
||||
fputc( '\n', error_file );
|
||||
ERRORoccurred = True;
|
||||
} else if( what->severity >= SEVERITY_WARNING ) {
|
||||
fprintf( error_file, "WARNING: ", what->severity );
|
||||
fprintf( error_file, "WARNING: %d", what->severity );
|
||||
vfprintf( error_file, what->message, args );
|
||||
fputc( '\n', error_file );
|
||||
}
|
||||
|
||||
@@ -459,7 +459,7 @@ PARSERrun( char * filename, FILE * fp ) {
|
||||
extern void SCAN_lex_init PROTO( ( char *, FILE * ) );
|
||||
|
||||
if( print_objects_while_running & OBJ_PASS_BITS ) {
|
||||
fprintf( stdout, "parse (pass 0)\n", EXPRESSpass );
|
||||
fprintf( stdout, "parse (pass %d)\n", EXPRESSpass );
|
||||
}
|
||||
|
||||
if( print_objects_while_running & OBJ_SCHEMA_BITS ) {
|
||||
|
||||
@@ -2182,8 +2182,7 @@ DataMemberPrint( Entity entity, FILE * file, Schema schema ) {
|
||||
generate_attribute_name( a, attrnm );
|
||||
if( !strcmp( ctype, "SCLundefined" ) ) {
|
||||
printf( "WARNING: in entity %s:\n", ENTITYget_name( entity ) );
|
||||
printf( "\tthe type for attribute %s is not fully ",
|
||||
"implemented\n", attrnm );
|
||||
printf( "\tthe type for attribute %s is not fully implemented\n", attrnm );
|
||||
}
|
||||
if( TYPEis_entity( VARget_type( a ) ) ) {
|
||||
fprintf( file, "\tSCLP23(Application_instance_ptr) _%s ;", attrnm );
|
||||
|
||||
@@ -69,8 +69,7 @@ print_file_header( Express express, FILES * files ) {
|
||||
/* create file for user to #include the CORBA-generated header file in. */
|
||||
if( corba_binding ) {
|
||||
if( ( corbafile = fopen( "corbaSchema.h", "w" ) ) == NULL ) {
|
||||
printf( "**Error in print_file_header: unable to create file ",
|
||||
"corbaSchema.h ** \n" );
|
||||
printf( "**Error in print_file_header: unable to create file corbaSchema.h ** \n" );
|
||||
}
|
||||
fprintf( corbafile,
|
||||
"// #include the idl generated .hh C++ file that defines the code that \n" );
|
||||
|
||||
@@ -758,8 +758,7 @@ SCOPEPrint( Scope scope, FILE * idl_file, Schema schema, Express model ) {
|
||||
generate_attribute_name( a, attrnm );
|
||||
if( !strcmp( idl_type, "SCLundefined" ) ) {
|
||||
printf( "WARNING: in entity %s:\n", ENTITYget_name( e ) );
|
||||
printf( "\tthe type for attribute %s is not fully ",
|
||||
"implemented\n", attrnm );
|
||||
printf( "\tthe type for attribute %s is not fully implemented\n", attrnm );
|
||||
}
|
||||
/*
|
||||
if (TYPEis_entity (VARget_type (a)))
|
||||
|
||||
Reference in New Issue
Block a user