Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ ./unixbuild.sh
- In file included from Aco.c:1:
- ./AntSim.h:174:1: warning: declaration does not declare anything [-Wmissing-declarations]
- PACKED( typedef struct {
- ^
- ./AntSim.h:169:47: note: expanded from macro 'PACKED'
- #define PACKED( class_to_pack ) class_to_pack __attribute__( ( __packed__ ) )
- ^
- ./AntSim.h:179:1: warning: declaration does not declare anything [-Wmissing-declarations]
- PACKED( typedef struct {
- ^
- ./AntSim.h:169:47: note: expanded from macro 'PACKED'
- #define PACKED( class_to_pack ) class_to_pack __attribute__( ( __packed__ ) )
- ^
- Aco.c:134:16: error: use of undeclared identifier 'INT_MAX'
- eval_limit = INT_MAX;
- ^
- 2 warnings and 1 error generated.
- xorrand.c:50:9: warning: incompatible pointer types initializing 'char *' with an expression of type 'uint64_t *' (aka 'unsigned long long *') [-Wincompatible-pointer-types]
- char* buf = &s[0];
- ^ ~~~~~
- xorrand.c:52:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
- if (fp = fopen("/dev/urandom", "rb")) {
- ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- xorrand.c:52:10: note: place parentheses around the assignment to silence this warning
- if (fp = fopen("/dev/urandom", "rb")) {
- ^
- ( )
- xorrand.c:52:10: note: use '==' to turn this assignment into an equality comparison
- if (fp = fopen("/dev/urandom", "rb")) {
- ^
- ==
- 2 warnings generated.
- In file included from AntSim.c:1:
- ./AntSim.h:174:1: warning: declaration does not declare anything [-Wmissing-declarations]
- PACKED( typedef struct {
- ^
- ./AntSim.h:169:47: note: expanded from macro 'PACKED'
- #define PACKED( class_to_pack ) class_to_pack __attribute__( ( __packed__ ) )
- ^
- ./AntSim.h:179:1: warning: declaration does not declare anything [-Wmissing-declarations]
- PACKED( typedef struct {
- ^
- ./AntSim.h:169:47: note: expanded from macro 'PACKED'
- #define PACKED( class_to_pack ) class_to_pack __attribute__( ( __packed__ ) )
- ^
- AntSim.c:387:29: warning: format specifies type 'unsigned long long' but the argument has type 'unsigned long' [-Wformat]
- printf( "*** %llu %ss\n", arrlenu( items_by_slot[i] ), ItemTypeToString[i] );
- ~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~
- %lu
- ./stb_ds.h:330:21: note: expanded from macro 'arrlenu'
- #define arrlenu stbds_arrlenu
- ^
- ./stb_ds.h:446:31: note: expanded from macro 'stbds_arrlenu'
- #define stbds_arrlenu(a) ((a) ? stbds_header(a)->length : 0)
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 3 warnings generated.
- In file included from TrailedGraph.c:2:
- ./AntSim.h:174:1: warning: declaration does not declare anything [-Wmissing-declarations]
- PACKED( typedef struct {
- ^
- ./AntSim.h:169:47: note: expanded from macro 'PACKED'
- #define PACKED( class_to_pack ) class_to_pack __attribute__( ( __packed__ ) )
- ^
- ./AntSim.h:179:1: warning: declaration does not declare anything [-Wmissing-declarations]
- PACKED( typedef struct {
- ^
- ./AntSim.h:169:47: note: expanded from macro 'PACKED'
- #define PACKED( class_to_pack ) class_to_pack __attribute__( ( __packed__ ) )
- ^
- TrailedGraph.c:35:31: warning: expression result unused [-Wunused-value]
- hmgetp( graph.trail, edge )->value;
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~
- 3 warnings generated.
- In file included from cli.c:1:
- ./AntSim.h:174:1: warning: declaration does not declare anything [-Wmissing-declarations]
- PACKED( typedef struct {
- ^
- ./AntSim.h:169:47: note: expanded from macro 'PACKED'
- #define PACKED( class_to_pack ) class_to_pack __attribute__( ( __packed__ ) )
- ^
- ./AntSim.h:179:1: warning: declaration does not declare anything [-Wmissing-declarations]
- PACKED( typedef struct {
- ^
- ./AntSim.h:169:47: note: expanded from macro 'PACKED'
- #define PACKED( class_to_pack ) class_to_pack __attribute__( ( __packed__ ) )
- ^
- In file included from cli.c:7:
- ./././stdstring.h:3244:10: warning: multiple unsequenced modifications to 'tokens' [-Wunsequenced]
- *tokens++ = ( *tokens++ = ( const char* )( uintptr_t )n ) ? string : "";
- ^ ~~
- ./././stdstring.h:3492:18: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types
- [-Wincompatible-pointer-types-discards-qualifiers]
- strjoin( &with, words, "_" );
- ^~~~~
- ./././stdstring.h:3261:48: note: passing argument to parameter 'words' here
- HEAP char* strjoin( char** string, const char* words[], const char* separator )
- ^
- cli.c:135:3: warning: implicit declaration of function 'quick_exit' is invalid in C99 [-Wimplicit-function-declaration]
- quick_exit( EXIT_FAILURE );
- ^
- cli.c:141:49: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
- ParsedItemFile parsed_itemfile = LoadItemFile( input_filename, itemcache_filename );
- ^~~~~~~~~~~~~~
- ./AntSim.h:224:36: note: passing argument to parameter 'filename' here
- ParsedItemFile LoadItemFile( char* filename, char* item_cache_filename );
- ^
- cli.c:141:65: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
- ParsedItemFile parsed_itemfile = LoadItemFile( input_filename, itemcache_filename );
- ^~~~~~~~~~~~~~~~~~
- ./AntSim.h:224:52: note: passing argument to parameter 'item_cache_filename' here
- ParsedItemFile LoadItemFile( char* filename, char* item_cache_filename );
- ^
- cli.c:142:74: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
- parsed_itemfile.class_specialization = DetermineSpecializationFromFile( base_profile );
- ^~~~~~~~~~~~
- ./AntSim.h:225:55: note: passing argument to parameter 'fname' here
- Specialization DetermineSpecializationFromFile( char* fname );
- ^
- cli.c:147:3: warning: implicit declaration of function 'quick_exit' is invalid in C99 [-Wimplicit-function-declaration]
- quick_exit( EXIT_FAILURE );
- ^
- 9 warnings generated.
- In file included from SimcParser.c:2:
- ./AntSim.h:174:1: warning: declaration does not declare anything [-Wmissing-declarations]
- PACKED( typedef struct {
- ^
- ./AntSim.h:169:47: note: expanded from macro 'PACKED'
- #define PACKED( class_to_pack ) class_to_pack __attribute__( ( __packed__ ) )
- ^
- ./AntSim.h:179:1: warning: declaration does not declare anything [-Wmissing-declarations]
- PACKED( typedef struct {
- ^
- ./AntSim.h:169:47: note: expanded from macro 'PACKED'
- #define PACKED( class_to_pack ) class_to_pack __attribute__( ( __packed__ ) )
- ^
- SimcParser.c:43:3: warning: implicit declaration of function 'quick_exit' is invalid in C99 [-Wimplicit-function-declaration]
- quick_exit( EXIT_FAILURE );
- ^
- SimcParser.c:52:3: warning: implicit declaration of function 'quick_exit' is invalid in C99 [-Wimplicit-function-declaration]
- quick_exit( EXIT_FAILURE );
- ^
- SimcParser.c:180:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
- } while ( line = strtok( 0, "\n" ) );
- ~~~~~^~~~~~~~~~~~~~~~~~~
- SimcParser.c:180:17: note: place parentheses around the assignment to silence this warning
- } while ( line = strtok( 0, "\n" ) );
- ^
- ( )
- SimcParser.c:180:17: note: use '==' to turn this assignment into an equality comparison
- } while ( line = strtok( 0, "\n" ) );
- ^
- ==
- SimcParser.c:202:3: warning: implicit declaration of function 'quick_exit' is invalid in C99 [-Wimplicit-function-declaration]
- quick_exit( EXIT_FAILURE );
- ^
- 6 warnings generated.
Advertisement
Add Comment
Please, Sign In to add comment