#59 static_assert fails to link on some systems

None
closed-accepted
libmp3lame (13)
5
2013-12-17
2012-03-18
Doug Cook
No

On some systems (notably VC2012 beta), the form of static_assert used in psymodel.c leads to a link error. The attached patch changes this to use a different static assertion that seems to have better behavior.

Discussion

  • Doug Cook
    Doug Cook
    2012-03-18

    Patch to psymodel.c and machine.h static assertions

     
    • status: open --> closed-accepted
    • assigned_to: Robert Hegemann
    • Group: -->
     
  • thanks!