Skip to content

Fix name lookup for the interpolateParam function#10

Open
kingscallop wants to merge 1 commit intoSynxis:spark2from
kingscallop:name-lookup-fix
Open

Fix name lookup for the interpolateParam function#10
kingscallop wants to merge 1 commit intoSynxis:spark2from
kingscallop:name-lookup-fix

Conversation

@kingscallop
Copy link
Copy Markdown
Contributor

Fixes a few errors like the ones below.

On clang:

In file included from spark/src/Core/SPK_Factory.cpp:21:
In file included from spark/include/SPARK.h:33:
spark/include/Extensions/Interpolators/SPK_GraphInterpolator.h:599:3: error: explicit qualification required to use member 'interpolateParam' from dependent base class
	            interpolateParam(result,entry.y0,entry.y1,ratio);
	            ^

On gcc:

spark/include/Extensions/Interpolators/SPK_GraphInterpolator.h:599:33: error: ‘interpolateParam’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
 599 |                 interpolateParam(result,entry.y0,entry.y1,ratio);
     |                 ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Fixes a few errors like the ones below.

On clang:
In file included from spark/src/Core/SPK_Factory.cpp:21:
In file included from spark/include/SPARK.h:33:
spark/include/Extensions/Interpolators/SPK_GraphInterpolator.h:599:3: error: explicit qualification required to use member 'interpolateParam' from dependent base class
	            interpolateParam(result,entry.y0,entry.y1,ratio);
	            ^

On gcc:
spark/include/Extensions/Interpolators/SPK_GraphInterpolator.h:599:33: error: ‘interpolateParam’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
 599 |                 interpolateParam(result,entry.y0,entry.y1,ratio);
     |                 ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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.

1 participant