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

Compile error when set FOONATHAN_MEMORY_TEMPORARY_STACK_MODE to 1 #142

Closed
lumieru opened this issue Sep 28, 2022 · 1 comment
Closed

Compile error when set FOONATHAN_MEMORY_TEMPORARY_STACK_MODE to 1 #142

lumieru opened this issue Sep 28, 2022 · 1 comment

Comments

@lumieru
Copy link

lumieru commented Sep 28, 2022

Following is the error message:

E:\Github\memory\src\temporary_allocator.cpp(220): error C2144: syntax error: 'char' should be preceded by ';'
E:\Github\memory\src\temporary_allocator.cpp(220): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
E:\Github\memory\src\temporary_allocator.cpp(221): error C2144: syntax error: 'bool' should be preceded by ';'
E:\Github\memory\src\temporary_allocator.cpp(221): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
E:\Github\memory\src\temporary_allocator.cpp(221): error C2086: 'int `anonymous-namespace'::FOONATHAN_THREAD_LOCAL': redefinition
E:\Github\memory\src\temporary_allocator.cpp(219): note: see declaration of '`anonymous-namespace'::FOONATHAN_THREAD_LOCAL'
@foonathan
Copy link
Owner

Thank you, fixed.

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

No branches or pull requests

2 participants