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

HDF4-visual studio interference #370

Merged
merged 2 commits into from
Feb 24, 2017
Merged

HDF4-visual studio interference #370

merged 2 commits into from
Feb 24, 2017

Conversation

DennisHeimbigner
Copy link
Collaborator

It appears that the token OPAQUE in ncgen.y is somehow in interference
with something in the HDF4 code. So, I changedthe OPAQUE -> OPAQUE_
and that appears to fix the problem with bison when HDF4 is enabled.
(See also #366).

I am surprised that other tokens did not also cause this problem, but
apparently not.

I should also note that Visual Studio error message leave something to be desired.
when Visual Studio complained about token 'constant' it turn out that it mean token type,
not the actual token named 'constant'. Instead the actual token that was causing the
problem was 'OPAQUE'.

is somehow in interference with something
in the HDF4 code. So, I changed
the OPAQUE -> OPAQUE_ and that appears
to fix the problem with bison when HDF4
is enabled.

ps. when Visual Studio complained about token
'constant' it turn out that it mean token type,
not the actual token named 'constant'. Instead
the actual token that was causing the problem
was 'OPAQUE'.
@WardF
Copy link
Member

WardF commented Feb 24, 2017

I agree 100% with the critique of Visual Studio. Thanks for the diagnostic work, great catch Dennis! Will get this merged and move on to other pull requests.

@WardF WardF merged commit ba429bc into master Feb 24, 2017
@WardF WardF deleted the ncgenhdf4.dmh branch February 24, 2017 21:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants