Skip to content

Conversation

d-otte
Copy link
Contributor

@d-otte d-otte commented Jan 24, 2022

See also #232 .

This changes the global CXXFLAGS, since bison generated code in several
locations might trigger a false-positive free-nonheap-object warning.

This happens with gcc 11 (gcc version 11.2.0 from ubunut 21.10).

Signed-off-by: Daniel Otte d.otte@wut.de

…p-object

This changes the global CXXFLAGS, since bison generated code in several
locations might trigger a false-positive `free-nonheap-object` warning.

Signed-off-by: Daniel Otte <d.otte@wut.de>
@Hadatko
Copy link
Member

Hadatko commented Jan 24, 2022

Hi @d-otte, something similar was merged and then reverted once: https://github.com/EmbeddedRPC/erpc/pull/178/files because other builds failed. I think this is correct change, but we need do it to support other compilers/OS too.
We need change also autobuilds from travis to something else. This will be one of our biggest priority now.

@Hadatko Hadatko self-requested a review January 25, 2022 17:40
@Hadatko Hadatko added the bug label Jan 25, 2022
@Hadatko Hadatko added this to the 1.9.1 milestone Jan 25, 2022
@Hadatko
Copy link
Member

Hadatko commented Jan 28, 2022

@d-otte I implemented the change on your brach. Could you align your branch with develop branch (merge our develop into your PR branch) so we will be able to run builds for this branch? Thank you ;)

Copy link
Member

@Hadatko Hadatko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MichalPrincNXP
Based on circleCI i would approve this PR

@MichalPrincNXP MichalPrincNXP merged commit e8d778e into EmbeddedRPC:develop Feb 1, 2022
@MichalPrincNXP
Copy link
Member

Thank you!

@Hadatko Hadatko linked an issue Feb 4, 2022 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

Compilation error of bison generated code with gcc11

3 participants