Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-93045

The build system should provide a moc_predefs.h with a matching __cplusplus

    XMLWordPrintable

Details

    Description

      As mentioned in the linked bugs, moc will run into issues parsing headers if __cplusplus has the wrong value. Working around those bugs in moc might be possible, but ends up becoming a whack-a-mole game, and might lead to strange bugs if the compilation doesn't actually fail but we read a wrong value instead.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              qtbuildsystem Qt Build System Team
              fabiankosmale Fabian Kosmale
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes