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

'va_copy' not declared with --std=c++03 #11979

Closed
neikeq opened this issue Oct 9, 2017 · 1 comment
Closed

'va_copy' not declared with --std=c++03 #11979

neikeq opened this issue Oct 9, 2017 · 1 comment

Comments

@neikeq
Copy link
Contributor

neikeq commented Oct 9, 2017

Operating system or device, Godot version, GPU Model and driver (if graphics related):
Ubuntu 17.04 64bit
g++ (Ubuntu 6.3.0-12ubuntu2) 6.3.0 20170406

Issue description:

Build error:

core/io/logger.cpp: In member function 'virtual void RotatedFileLogger::logv(const char*, __va_list_tag*, bool)':
core/io/logger.cpp:181:28: error: 'va_copy' was not declared in this scope
   va_copy(list_copy, p_list);
                            ^
core/io/logger.cpp: In member function 'virtual void CompositeLogger::logv(const char*, __va_list_tag*, bool)':
core/io/logger.cpp:235:28: error: 'va_copy' was not declared in this scope
   va_copy(list_copy, p_list);
                            ^

Steps to reproduce:
Run scons with CCFLAGS=--std=c++03

@neikeq
Copy link
Contributor Author

neikeq commented Oct 9, 2017

cc @endragor

@groud groud added this to the 3.0 milestone Oct 10, 2017
@neikeq neikeq closed this as completed in 73e8618 Oct 10, 2017
neikeq added a commit that referenced this issue Oct 10, 2017
Define va_copy with --std=c++03 (fixes #11979)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants