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

Fix C++17 does not allow register storage class specifier #17

Merged
merged 1 commit into from
Sep 19, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/Inventor/Xt/widgets/SoXtGLArea.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ createColormap(
} * cmapCache;
static int cacheEntries = 0;
static int cacheMalloced = 0;
register int i;
int i;

assert(widget->soxtGLArea.visualInfo);

Expand Down Expand Up @@ -564,7 +564,7 @@ Realize(
Mask * valueMask,
XSetWindowAttributes * attributes)
{
register SoXtGLAreaWidget glw = (SoXtGLAreaWidget) widget;
SoXtGLAreaWidget glw = (SoXtGLAreaWidget) widget;
SoXtGLAreaCallbackStruct cb;
Widget parentShell;
Status status;
Expand Down Expand Up @@ -670,7 +670,7 @@ Destroy(
Widget parentShell;
Status status;
int countReturn;
register int i;
int i;

if (glw->soxtGLArea.myList && glw->soxtGLArea.attribList)
XtFree((char *) glw->soxtGLArea.attribList);
Expand Down
Loading