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?
QtWS25 Last Chance

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 16.7k Views
  • 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 30 May 2023, 16:57 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.

    C 1 Reply Last reply 30 May 2023, 16:59
    0
    • B bogong
      30 May 2023, 16:57

      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.

      C Online
      C Online
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on 30 May 2023, 16:59 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 30 May 2023, 17:33
      1
      • C Christian Ehrlicher
        30 May 2023, 16:59

        @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 30 May 2023, 17:33 last edited by
        #3

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

        C 1 Reply Last reply 30 May 2023, 17:38
        0
        • B bogong
          30 May 2023, 17:33

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

          C Online
          C Online
          Christian Ehrlicher
          Lifetime Qt Champion
          wrote on 30 May 2023, 17:38 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 31 May 2023, 10:56
          0
          • C Christian Ehrlicher
            30 May 2023, 17:38

            @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 31 May 2023, 10:56 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

            2/5

            30 May 2023, 16:59

            • Login

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