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

Include memory, needed for auto_ptr references #186

Merged
merged 1 commit into from Apr 18, 2016
Merged

Include memory, needed for auto_ptr references #186

merged 1 commit into from Apr 18, 2016

Conversation

ideasman42
Copy link
Collaborator

The <memory> include is needed for building on Linux.

Without this, there is an error with GCC5.3.

toonz/sources/common/expressions/tgrammar.cpp:147:7: error: 'auto_ptr' in namespace 'std' does not name a template type
  std::auto_ptr<CalculatorNode> m_a;

These could be ifdef'd for Linux, however this is a standard include for the C++ standard according to:
http://www.cplusplus.com/reference/memory/

This commit also adds some <cstring> includes which are needed for building on Linux.

@skitaoka
Copy link
Member

Jenkins

@skitaoka skitaoka merged commit 07d4ebb into opentoonz:master Apr 18, 2016
shun-iwasawa pushed a commit to shun-iwasawa/opentoonz that referenced this pull request Dec 11, 2020
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.

None yet

2 participants