Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. ISO C99 and later do not support implicit function declarations on MacOS. How to fix?
Forum Updated to NodeBB v4.3 + New Features

ISO C99 and later do not support implicit function declarations on MacOS. How to fix?

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 2 Posters 17.6k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    bogong
    wrote on last edited by
    #1

    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.

    Christian EhrlicherC 1 Reply Last reply
    0
    • B bogong

      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.

      Christian EhrlicherC Online
      Christian EhrlicherC Online
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by Christian Ehrlicher
      #2

      @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.

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      B 1 Reply Last reply
      1
      • Christian EhrlicherC Christian Ehrlicher

        @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.

        B Offline
        B Offline
        bogong
        wrote on last edited by
        #3

        @Christian-Ehrlicher Thx for reply. Not working ...

        Christian EhrlicherC 1 Reply Last reply
        0
        • B bogong

          @Christian-Ehrlicher Thx for reply. Not working ...

          Christian EhrlicherC Online
          Christian EhrlicherC Online
          Christian Ehrlicher
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @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.

          Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
          Visit the Qt Academy at https://academy.qt.io/catalog

          B 1 Reply Last reply
          0
          • Christian EhrlicherC Christian Ehrlicher

            @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.

            B Offline
            B Offline
            bogong
            wrote on last edited by
            #5

            @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.

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved