MantisBT - LibCSS
View Issue Details
0002536LibCSSLibCSSpublic2017-05-08 03:372018-04-21 08:24
ReporterAlastair Hughes 
Assigned To 
Platformx86_64OSCustom linuxOS Version
Fixed in CI build #
Reported in CI build #
Summary0002536: Build failure with GCC 7.1 due to implicit-fallthrough
DescriptionBuilding with GCC 7.1 fails due to the newly-added implicit-fallthrough feature. Some case statements in libcss's parser have a "Fall through" comment but are inside an additional set of braces, which prevents GCC's comment detection working and triggers a warning, which causes the build to fail. An example of this is seen at describes the new behavior.

I have attached a patch which fixes this issue by removing the braces.
Steps To ReproduceAttempt to build libcss using GCC 7.1
TagsNo tags attached.
Attached Filespatch 0001-Remove-extra-braces-to-fix-build-with-gcc-7.patch (1,743) 2017-05-08 03:37

There are no notes attached to this issue.

Issue History
2017-05-08 03:37Alastair HughesNew Issue
2017-05-08 03:37Alastair HughesFile Added: 0001-Remove-extra-braces-to-fix-build-with-gcc-7.patch
2018-04-21 08:24Michael DrakeStatusnew => resolved
2018-04-21 08:24Michael DrakeResolutionopen => fixed