]> code.ossystems Code Review - openembedded-core.git/commit
flex: fix gcc-6 failure
authorAndreas Müller <schnitzeltony@googlemail.com>
Tue, 30 Aug 2016 15:51:04 +0000 (17:51 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 3 Sep 2016 22:45:43 +0000 (23:45 +0100)
commit6336c5bafe617e775037d5243d4bb5e236e74679
tree16dd11e45a4acdd3f2c3325e4fb5d1eb2c05ae7e
parentc1ab87caae92a58b1dfab7abc1a856fab102e3ed
flex: fix gcc-6 failure

Gcc-6 does not allow c++ comments withing c-code. Files generated by flex
can fail with:

| error: C++ style comments are not allowed in ISO C90
| num_to_alloc = 1; // After all that talk, this was set to 1 anyways...

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/flex/flex/0002-avoid-c-comments-in-c-code-fails-with-gcc-6.patch [new file with mode: 0644]
meta/recipes-devtools/flex/flex_2.6.0.bb