UASM icon indicating copy to clipboard operation
UASM copied to clipboard

Failed to build 2.56.2 on MacOS

Open anta40 opened this issue 3 years ago • 0 comments

First I modified ClangOSX64.mak a bit:

ifeq ($(DEBUG),0)
extra_c_flags = -DNDEBUG -O2 -ansi -funsigned-char -fwritable-strings -Wno-implicit-function-declaration
OUTD=GccUnixR
else

Then ran make -f ClangOX64.mak. The result is:

In file included from dbgcv.c:30:
H/picohash.h:262:1: error: unknown type name 'inline'
inline void _picohash_md5_init(_picohash_md5_ctx_t* ctx)
^
H/picohash.h:273:1: error: unknown type name 'inline'
inline void _picohash_md5_update(_picohash_md5_ctx_t* ctx, const void* data, size_t size)
^
H/picohash.h:290:13: error: non-void function '_picohash_md5_update' should return a value [-Wreturn-type]
            return;
            ^
H/picohash.h:307:1: error: unknown type name 'inline'
inline void _picohash_md5_final(_picohash_md5_ctx_t* ctx, void* _digest)
^
H/picohash.h:364:8: error: unknown type name 'inline'
static inline uint32_t _picohash_sha1_rol32(uint32_t number, uint8_t bits)
       ^
H/picohash.h:364:23: error: expected ';' after top level declarator
static inline uint32_t _picohash_sha1_rol32(uint32_t number, uint8_t bits)
...
...
dbgcv.c:1585:36: error: use of undeclared identifier 'szCVCompiler'
                len = strlen(strcpy(Uasm->verSz, szCVCompiler));
                                                 ^
dbgcv.c:1655:16: error: use of undeclared identifier 'szCVCompiler'
                len = strlen(szCVCompiler);
                             ^
dbgcv.c:1681:32: error: use of undeclared identifier 'szCVCompiler'
                cv.ps = SetPrefixName(cv.ps, szCVCompiler, len);
...
...
21 warnings and 9 errors generated.
make: *** [GccUnixR/dbgcv.o] Error 1

anta40 avatar Dec 01 '22 17:12 anta40