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. Parse error at "__identifier"
QtWS25 Last Chance

Parse error at "__identifier"

Scheduled Pinned Locked Moved Solved General and Desktop
qt5.9.2msvcwindows
3 Posts 2 Posters 2.1k 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.
  • C Offline
    C Offline
    Cobra91151
    wrote on 13 Oct 2017, 12:46 last edited by A Former User
    #1

    Hi! Since there are no x86 precompiled binaries for VS 2017, I use VS 2015 x86 binaries.

    The problem is when compile the program:

    :/Program Files (x86)/Microsoft Visual Studio 14.0/VC/ATLMFC/INCLUDE/atlbase.(3350): Parse error at "__identifier"

    and compilation fails.

    How to fix it? Thanks.

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mrjj
      Lifetime Qt Champion
      wrote on 13 Oct 2017, 12:55 last edited by
      #2

      @Cobra91151 said in Qt 5.9.2 moc issue:

      0/VC/ATLMFC/INCLUDE/atlbase.(3350): Parse error at "__identifier"

      Hi
      seems to be known bug
      https://bugreports.qt.io/browse/QTBUG-61433
      https://bugreports.qt.io/browse/QTBUG-56634

      C 1 Reply Last reply 13 Oct 2017, 13:28
      1
      • M mrjj
        13 Oct 2017, 12:55

        @Cobra91151 said in Qt 5.9.2 moc issue:

        0/VC/ATLMFC/INCLUDE/atlbase.(3350): Parse error at "__identifier"

        Hi
        seems to be known bug
        https://bugreports.qt.io/browse/QTBUG-61433
        https://bugreports.qt.io/browse/QTBUG-56634

        C Offline
        C Offline
        Cobra91151
        wrote on 13 Oct 2017, 13:28 last edited by
        #3

        @mrjj

        Ok. I have fixed it temporary by defining in the .pro file:
        DEFINES += _ATL_NATIVE_INITIALIZATION

        And also reported it https://bugreports.qt.io/browse/QTBUG-63772 . Thank you.

        1 Reply Last reply
        1

        3/3

        13 Oct 2017, 13:28

        • Login

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