Skip to content

UASM 2.57r build problem #208

@teoberi

Description

@teoberi

gcc --version

gcc (GCC) 14.2.0
Copyright (C) 2024 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

make -f Makefile-Linux-GCC-64.mak

mkdir GccUnixR
gcc -D UNIX -c -IH -D UNIX -DNDEBUG -O2 -funsigned-char -Wwrite-strings -o GccUnixR/main.o main.c
main.c: In function ‘main’:
main.c:95:17: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
95 | argv[0] = pEnv;
| ^
gcc -D UNIX -c -IH -D UNIX -DNDEBUG -O2 -funsigned-char -Wwrite-strings -o GccUnixR/apiemu.o apiemu.c
gcc -D UNIX -c -IH -D UNIX -DNDEBUG -O2 -funsigned-char -Wwrite-strings -o GccUnixR/orgfixup.o orgfixup.c
gcc -D UNIX -c -IH -D UNIX -DNDEBUG -O2 -funsigned-char -Wwrite-strings -o GccUnixR/assemble.o assemble.c
assemble.c: In function ‘PassOneChecks’:
assemble.c:1042:32: warning: comparison between pointer and integer
1042 | if ( curr->sym.altname > 1 )
| ^
assemble.c: In function ‘OnePass’:
assemble.c:1181:17: error: implicit declaration of function ‘AddSimdTypes’ [-Wimplicit-function-declaration]
1181 | AddSimdTypes();
| ^~~~~~~~~~~~
In file included from assemble.c:18:
assemble.c: In function ‘get_module_name’:
H/globals.h:51:17: error: implicit declaration of function ‘strupr’; did you mean ‘_strupr’? [-Wimplicit-function-declaration]
51 | #define _strupr strupr
| ^~~~~~
assemble.c:1280:5: note: in expansion of macro ‘_strupr’
1280 | _strupr( ModuleInfo.name );
| ^~~~~~~
assemble.c: In function ‘GetExt’:
assemble.c:1430:23: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
1430 | return( EXE_EXT );
| ^
assemble.c:1433:23: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
1433 | return( BIN_EXT );
| ^
assemble.c:1435:15: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
1435 | return( OBJ_EXT );
| ^
assemble.c:1437:15: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
1437 | return( LST_EXT );
| ^
assemble.c:1439:15: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
1439 | return( ERR_EXT );
| ^
make: *** [Makefile-Linux-GCC-64.mak:35: GccUnixR/assemble.o] Error 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions