fontforge / libspiro

Spiro is the creation of Raph Levien. It simplifies the drawing of beautiful curves. (Migrated here from libspiro.sourceforge.net on 2013-04-20)
GNU General Public License v3.0
107 stars 25 forks source link

use of undeclared identifier 'uint' #23

Closed MaddTheSane closed 4 years ago

MaddTheSane commented 4 years ago

It looks like commit bdb023f1aa7347f093df4a3020d10c7449b36b89 broke compilation on Mac OS X. Any place that has uint results in an error.

ctrlcctrlv commented 4 years ago

Does it need to be typed out to unsigned int? Does defining a typedef only on OS X allow you to build?

MaddTheSane commented 4 years ago

It needs to be defined, and then it will build.

I defined it in config.h in one instance: typedef unsigned int uint; And it compiled just fine.

JoesCat commented 4 years ago

Guess shortcuts don't count anymore.

The typedef is a good idea, but it's only a few values, so I'll use the longhand version.

Thanks for confirming that it builts fine.

ctrlcctrlv commented 4 years ago

Thanks for continuing to maintain this Joe, all of my fonts except my very first one rely on Spiro in one way or another.