Skip to content

Conversation

@olajep
Copy link
Member

@olajep olajep commented Jun 17, 2015

Affected functions: p_scharr3x3 and p_sobel3x3.

Fix strict-aliasing compiler warnings (-O2 enables -fstrict-aliasing).

Now compiles with:
CFLAGS="-Werror -Wall -Wno-unused -D_FORTIFY_SOURCE=2 -O2"

Signed-off-by: Ola Jeppsson ola@adapteva.com

Affected functions: p_scharr3x3 and p_sobel3x3.

Fix strict-aliasing compiler warnings (-O2 enables -fstrict-aliasing).

Now compiles with:
CFLAGS="-Werror -Wall -Wno-unused -D_FORTIFY_SOURCE=2 -O2"

Signed-off-by: Ola Jeppsson <ola@adapteva.com>
@olajep
Copy link
Member Author

olajep commented Jun 17, 2015

@jar
Since you wrote the original code, and we don't have a test case:
could you please review?

Thanks,
Ola

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.

1 participant