Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Qt Creator code model warning from intel intrinsics header

Qt Creator code model warning from intel intrinsics header

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
2 Posts 1 Posters 307 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.
  • P Offline
    P Offline
    paulf
    wrote on last edited by
    #1

    Hi

    With Qt Creator and clang (both build from git head in the last few days) I'm getting a parse error with the following

    typedef long long __int64;
    
    typedef union _MMINTRIN_TYPE(8) __m64 {
        unsigned __int64    m64_u64; // ERROR here
    

    It's an 'expected ; at end of declaration list' error, as though the second '__int64' was a variable name rather than a type name.

    Is there any workaround for this?

    1 Reply Last reply
    0
    • P Offline
      P Offline
      paulf
      wrote on last edited by
      #2

      I found a solution to this. Adding -fms-extensions to the config made it go away. I can't see this anywhere in our setup. A bit strange, but this is only for the parsing!

      1 Reply Last reply
      1

      • Login

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