Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 2.1.0-rc1
-
None
-
080bf4ecb8b7b70d6410e3342e37dacd5aef8ff3
Description
I just did a test with Qt Creator 2.0.94 (2.1.0-rc1) Linux and there is still a problem with completing nested structs/union (see attached picture).
Thanks in advance.
#include "mainwindow.h" #include "ui_mainwindow.h" typedef union { int Word; struct { int Test1: 1; int Test2: 1; int Test3: 1; int Test4: 1; } Bit; } TTestUnion; MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow) { ui->setupUi(this); } MainWindow::~MainWindow() { delete ui; } void MainWindow::on_pushButton_clicked() { TTestUnion tu; tu.Bit.Test1 = 1; }
Attachments
Issue Links
- relates to
-
QTCREATORBUG-6497 Members of anonymous struct are highlighted everywhere
- Closed