Skip to content

c++11 error #5

@saynono

Description

@saynono

Making the examples throws an error on my PI2.
(Linux raspberrypi 3.18.11-v7+ #781 SMP PREEMPT Tue Apr 21 18:07:59 BST 2015 armv7l GNU/Linux)

cc1plus: error: unrecognized command line option ‘-std=c++11’

Stackoverflow suggests using the ** c++0x ** instead which worked for me.
http://stackoverflow.com/questions/10363646/compiling-c11-with-g

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions