Remove obsolete/redundant FLEXIBLE_ARRAY macro
ClosedPublic

Authored by hvr on Apr 17 2016, 11:53 AM.

Details

Summary

This macro is doubly redundant, first off all, ancient GCCs prior to
version 3.0 are not supported anymore, but more importantly, we require
a ISO C99 compliant compiler, so we can use the proper ISO C syntax
without worrying about compatibility.

Diff Detail

Repository
rGHC Glasgow Haskell Compiler
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
hvr updated this revision to Diff 7312.Apr 17 2016, 11:53 AM
hvr retitled this revision from to Remove obsolete/redundant FLEXIBLE_ARRAY macro.
hvr updated this object.
hvr edited the test plan for this revision. (Show Details)
carter added a subscriber: carter.Apr 17 2016, 7:46 PM

Looks reasonable to me. (Though I'm not especially knowledgable in c matters)

bgamari accepted this revision.Apr 18 2016, 8:05 AM
bgamari edited edge metadata.

Looks reasonable to me.

This revision is now accepted and ready to land.Apr 18 2016, 8:05 AM
This revision was automatically updated to reflect the committed changes.