morevnaproject-org / opentoonz

OpenToonz - アニメーション制作ツールのオープンソースプロジェクト
Other
127 stars 13 forks source link

Fix build with GCC 10. #50

Closed ice0 closed 10 months ago

ice0 commented 10 months ago

The default option was fixed in the latest Twain releases but Opentoonz includes Twain 2.1.

P.S. This is cherry-pick from https://github.com/opentoonz/opentoonz/commit/05ead497ad4d95cf5c37154b780724d67da93f55

Fixes build with MinGW too.

Currently build fails with following error:

/build/packet/win-64/opentoonz-me/build/opentoonz/toonz/sources/tnzbase/../common/twain/twain.h:2212:16: error: extended character  is not valid in an identifier
 2212 | #pragma option ��a.