-
Notifications
You must be signed in to change notification settings - Fork 2
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 warnings #12
Comments
Compiling on Ubuntu there are a few additional warnings: src/XMotif/XmMain.c: In function ‘fileok_cb’: |
I don't get these additional warnings with gcc 4.8 and openSUSE 31.1. My On 10/15/2015 11:03 PM, David Rusk wrote:
|
There are 2 warnings during compilation. These are
both pointer to integer conversions:
src/XMotif/XmDialogs.c: In function ‘toggledNodeCheckCB’:
src/XMotif/XmDialogs.c:962:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
int bit = (int) client_data;
^
src/XMotif/XmDialogs.c: In function ‘wpignodecheck_’:
src/XMotif/XmDialogs.c:1053:67: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
XtAddCallback (w, XmNvalueChangedCallback, toggledNodeCheckCB, (XtPointer) i);
^
It would be nice to remove these.
The text was updated successfully, but these errors were encountered: