ignore architecture specific flags, demote warning to debug for apparently empty classes
Merge pull request #4068 from apfeiffer1/ap-updateGenScript

Update serialisation generator script.