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

error: ‘nullptr’ was not declared in this scope #693 #694

Closed
wants to merge 1 commit into from

Conversation

MatiasRepetto
Copy link

@MatiasRepetto MatiasRepetto commented Dec 21, 2023

adding '-std=c++11' flag to prevent the classic "‘nullptr’ was not declared in this scope" error (@nuxy came to the same solution)

@MatiasRepetto MatiasRepetto reopened this Dec 21, 2023
@MatiasRepetto MatiasRepetto changed the title error: ‘nullptr’ was not declared in this scope error: ‘nullptr’ was not declared in this scope #693 Dec 21, 2023
@nuxy
Copy link

nuxy commented Jan 16, 2024

One thing to note about your PR, which was the exact reason for not creating one from the patch I released in the Github Issues queue, is that this change is not backwards compatible with older releases of Ubuntu that use gcc4.8 and below.

For older systems you must upgrade the gcc toolchain for this to work.

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