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

todo: try to fix compile warmings due i not know what happened to qt5 #4

Open
mckaygerhard opened this issue Aug 21, 2017 · 0 comments
Labels

Comments

@mckaygerhard
Copy link
Member

the compilation seems have some warnings:

In file included from src/eggwm/EggWM.cpp:17:0:
src/eggwm/EggWM.h:31:54: warning: unused parameter ‘eventType’ [-Wunused-parameter]
     virtual bool nativeEventFilter(const QByteArray &eventType, void *message, long *) Q_DECL_OVERRIDE

src/eggwm/standards/ICCCM.cpp: In member function ‘void ICCCM::sendProtocol(const char*) const’:
src/eggwm/standards/ICCCM.cpp:91:72: warning: passing NULL to non-pointer argument 4 of ‘int XSendEvent(Display*, Window, int, long int, XEvent*)’ [-Wconversion-null]
     XSendEvent(QX11Info::display(), this->clientID, false, NULL, &event);

src/eggwm/atoms/AtomList.cpp: In member function ‘Atom AtomList::getAtom(const char*)’:
src/eggwm/atoms/AtomList.cpp:148:48: warning: passing NULL to non-pointer argument 2 of ‘const T QHash<Key, T>::value(const Key&, const T&) const [with Key = const char*; T = long unsigned int]’ [-Wconversion-null]
     return this->atomHash->value(atomName, NULL);


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

No branches or pull requests

1 participant