Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-9279

c++11 alignas structure alignment

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • Qt Creator 2.3.0-rc
    • Qt Creator 2.7.0, Qt Creator 2.8.0-beta
    • C/C++/Obj-C++ Support
    • None
    • linux 64bit

    Description

      The parser fails to parse structure declaration as such:

      struct alignas(32) my_pod{ //struct decl parser error
          alignas(32) int x; //field parser error
      };
      

      A real tragedy as all such classes can disappear from inheritance hierarchy.

      Attachments

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

        Activity

          People

            erikv Erik Verbruggen
            jnewton Jason Newton
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes