gcc -o AnalMS nr.c sidna.c spalloc.c spinout.c spmain.c sputil.c
spinout.c: In function ‘get_dataset’:
spinout.c:214: warning: incompatible implicit declaration of built-in function ‘strncpy’
spinout.c:218: warning: incompatible implicit declaration of built-in function ‘strncpy’
spinout.c:238: warning: incompatible implicit declaration of built-in function ‘strcpy’
spinout.c:239: warning: incompatible implicit declaration of built-in function ‘strncpy’
spinout.c:249: warning: incompatible implicit declaration of built-in function ‘strcpy’
spinout.c:250: warning: incompatible implicit declaration of built-in function ‘strncpy’
spinout.c:254: warning: incompatible implicit declaration of built-in function ‘strncpy’
spinout.c: In function ‘get_dataset_bug’:
spinout.c:365: warning: incompatible implicit declaration of built-in function ‘strncpy’
spinout.c:369: warning: incompatible implicit declaration of built-in function ‘strncpy’
spinout.c:389: warning: incompatible implicit declaration of built-in function ‘strcpy’
spinout.c:390: warning: incompatible implicit declaration of built-in function ‘strncpy’
spinout.c:400: warning: incompatible implicit declaration of built-in function ‘strcpy’
spinout.c:401: warning: incompatible implicit declaration of built-in function ‘strncpy’
spinout.c:405: warning: incompatible implicit declaration of built-in function ‘strncpy’
spinout.c: At top level:
spinout.c:414: error: conflicting types for ‘get_dataset_old’
spmain.h:265: note: previous declaration of ‘get_dataset_old’ was here
spinout.c: In function ‘get_dataset_old’:
spinout.c:459: warning: incompatible implicit declaration of built-in function ‘strncpy’
spinout.c:463: warning: incompatible implicit declaration of built-in function ‘strncpy’
spinout.c:483: warning: incompatible implicit declaration of built-in function ‘strcpy’
spinout.c:484: warning: incompatible implicit declaration of built-in function ‘strncpy’
spinout.c:494: warning: incompatible implicit declaration of built-in function ‘strcpy’
spinout.c:495: warning: incompatible implicit declaration of built-in function ‘strncpy’
spinout.c:499: warning: incompatible implicit declaration of built-in function ‘strncpy’
spinout.c: In function ‘get_dataset_old_old’:
spinout.c:541: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘char (*)[10000]’
spinout.c:545: warning: incompatible implicit declaration of built-in function ‘strcpy’
spinout.c:549: warning: incompatible implicit declaration of built-in function ‘strcpy’
spinout.c:567: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘char (*)[10000]’
spinout.c:592: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘char (*)[10000]’
spinout.c: In function ‘get_initial_conditions_dynamics’:
spinout.c:644: warning: format ‘%ld’ expects type ‘long int’, but argument 4 has type ‘int’
spinout.c:743: warning: format ‘%ld’ expects type ‘long int’, but argument 4 has type ‘int’
spmain.c:10:20: error: direct.h: Aucun fichier ou dossier de ce type
spmain.c: In function ‘main’:
spmain.c:36: error: ‘_MAX_PATH’ undeclared (first use in this function)
spmain.c:36: error: (Each undeclared identifier is reported only once
spmain.c:36: error: for each function it appears in.)
spmain.c:130: warning: comparison between pointer and integer
spmain.c:312: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘long int’
spmain.c:320: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘long int’
spmain.c:331: warning: format ‘%03d’ expects type ‘int’, but argument 4 has type ‘long int’
spmain.c:333: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘long int’
spmain.c:342: warning: format ‘%03d’ expects type ‘int’, but argument 4 has type ‘long int’
spmain.c:343: warning: format ‘%03d’ expects type ‘int’, but argument 4 has type ‘long int’
spmain.c:344: warning: format ‘%03d’ expects type ‘int’, but argument 4 has type ‘long int’
spmain.c:373: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘long int’
spmain.c:390: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘long int’
spmain.c:395: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘long int’
Partager