Page MenuHomePhabricator

build: ensure we aren't using GNU extensions
ClosedPublic

Authored by Fabien on Jan 28 2021, 16:32.

Details

Reviewers
PiRK
Group Reviewers
Restricted Project
Commits
rABC102f35022bec: build: ensure we aren't using GNU extensions
Summary

Remove the use of gnu extensions:

  • anonymous structs
  • variadic macros with no argument

And add a Clang warning for detecting their future use.

Backport of core PR18088.

Test Plan

With clang:

ninja all check

Check there is no warning.

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable