Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation error on FreeBSD member access into incomplete type #388

Closed
annejan opened this issue May 8, 2018 · 2 comments
Closed

Compilation error on FreeBSD member access into incomplete type #388

annejan opened this issue May 8, 2018 · 2 comments
Assignees

Comments

@annejan
Copy link
Member

annejan commented May 8, 2018

While updating the package and testing with poudriere I get an interesting error.

--- usersdialog.o ---
../../QtPass-1.2.2/src/usersdialog.cpp:124:8: error: member access into incomplete type 'QCloseEvent'
 event->accept();
      ^
/usr/local/include/qt5/QtWidgets/qwidget.h:73:7: note: forward declaration of 'QCloseEvent'
class QCloseEvent;
     ^
../../QtPass-1.2.2/src/usersdialog.cpp:138:16: error: member access into incomplete type 'QKeyEvent'
 switch (event->key()) {
              ^
/usr/local/include/qt5/QtWidgets/qwidget.h:68:7: note: forward declaration of 'QKeyEvent'
class QKeyEvent;
     ^
2 errors generated.
*** [usersdialog.o] Error code 1
@FiloSpaTeam
Copy link
Contributor

Seems that: missing header in cpp?

@annejan
Copy link
Member Author

annejan commented May 8, 2018

The issue is not present on FreeBSD 11.1-Release
I was testing with (deprecated since november 2017) FreeBSD 11.0-Release
Must have been a clang version thing . .

Testing again . .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants