SiegeLord / DAllegro5

D binding to the Allegro5 game development library
Other
42 stars 15 forks source link

Mark asm nothrow @nogc to fix deprecation #46

Closed SimonN closed 6 years ago

SimonN commented 6 years ago

Windows DMD 2.080 encourages to mark asm statements in nothrow @nogc functions also with nothrow @nogc. This fixes a deprecation warning. There was no compiler error.

Linux doesn't need this asm and thus Linux builds were always warning-free.