Skip to content

Add function prototypes to interface#112

Open
ryandesign wants to merge 1 commit into
BlueM:masterfrom
ryandesign:incompatible-types
Open

Add function prototypes to interface#112
ryandesign wants to merge 1 commit into
BlueM:masterfrom
ryandesign:incompatible-types

Conversation

@ryandesign
Copy link
Copy Markdown
Contributor

At the point where distanceBetweenPoint or cubicEaseInOut are invoked, old compilers complain:

error: incompatible types in initialization

This is solved by declaring the function prototypes in the interface.

At the point where distanceBetweenPoint or cubicEaseInOut are invoked,
old compilers complain:

error: incompatible types in initialization

This is solved by declaring the function prototypes in the interface.
@BlueM
Copy link
Copy Markdown
Owner

BlueM commented Oct 25, 2020

The methods are deliberately not in the header file, as they aren’t meant to be regarded as public methods. Which old compilers (on which system versions) complain? I’m asking to verify which workaround to choose.

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