ISO C99 and later do not support implicit function declarations on MacOS. How to fix?
-
Hello all!
Trying to build this project from Github on MacOS Ventura with XCode 14.3 and got this troubles:
/Users/alexandr/Tools/QtCipherSqlitePlugin/sqlitecipher/sqlite3/sqlite3mc_amalgamation.c:254454:14: error: call to undeclared function 'vaeseq_u8'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
Is there any fast-fix in Qt Creator for it? The project using QMake and *.pro files.
There were attempts to use:
QMAKE_CFLAGS += -pedantic QMAKE_CFLAGS += -std=c89
It's not working.
-
Hello all!
Trying to build this project from Github on MacOS Ventura with XCode 14.3 and got this troubles:
/Users/alexandr/Tools/QtCipherSqlitePlugin/sqlitecipher/sqlite3/sqlite3mc_amalgamation.c:254454:14: error: call to undeclared function 'vaeseq_u8'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
Is there any fast-fix in Qt Creator for it? The project using QMake and *.pro files.
There were attempts to use:
QMAKE_CFLAGS += -pedantic QMAKE_CFLAGS += -std=c89
It's not working.
@bogong said in ISO C99 and later do not support implicit function declarations on MacOS. How to fix?:
Is there any fast-fix in Qt Creator for it? The project using QMake and *.pro files.
Don't know what QtCreator has to do with this but I would either fix the error by myself or ask the maintainer of the sqlitecipher library to fix it.
vaesmcq_u8() seems to be an instrinsic from ARM/neon - so maybe including
arm_neon.h
can fix it as done e.g. here. -
@bogong said in ISO C99 and later do not support implicit function declarations on MacOS. How to fix?:
Is there any fast-fix in Qt Creator for it? The project using QMake and *.pro files.
Don't know what QtCreator has to do with this but I would either fix the error by myself or ask the maintainer of the sqlitecipher library to fix it.
vaesmcq_u8() seems to be an instrinsic from ARM/neon - so maybe including
arm_neon.h
can fix it as done e.g. here.@Christian-Ehrlicher Thx for reply. Not working ...
-
@Christian-Ehrlicher Thx for reply. Not working ...
@bogong Then you should try to update the sqlcipher library to the latest version and see if it compiles. Nothing Qt can do for it.
-
@bogong Then you should try to update the sqlcipher library to the latest version and see if it compiles. Nothing Qt can do for it.
@Christian-Ehrlicher This kind of troubles not happening if there XCode 13.3.1 with Qt 6.2.8 Anything higher - means troubles. It looks like Apple changed C-standard restriction with XCode.