Closed GoogleCodeExporter closed 9 years ago
Same problem, compile log:
$ make
g++ -c -o OpenTypeUtilities.o OpenTypeUtilities.cpp
OpenTypeUtilities.cpp: In function `bool getEOTHeader(unsigned char*, size_t,
std::vector<uint8_t, std::allocator<uint8_t> >&, size_t&, size_t&, size_t&)':
OpenTypeUtilities.cpp:191: warning: invalid access to non-static data member
`sfntHeader::tables' of NULL object
OpenTypeUtilities.cpp:191: warning: (perhaps the `offsetof' macro was used
incorrectly)
OpenTypeUtilities.cpp:196: warning: invalid access to non-static data member
`sfntHeader::tables' of NULL object
OpenTypeUtilities.cpp:196: warning: (perhaps the `offsetof' macro was used
incorrectly)
OpenTypeUtilities.cpp:221:18: warning: multi-character character constant
OpenTypeUtilities.cpp:241:18: warning: multi-character character constant
OpenTypeUtilities.cpp:251:18: warning: multi-character character constant
OpenTypeUtilities.cpp:253: warning: invalid access to non-static data member
`nameTable::nameRecords' of NULL object
OpenTypeUtilities.cpp:253: warning: (perhaps the `offsetof' macro was used
incorrectly)
OpenTypeUtilities.cpp:259: warning: invalid access to non-static data member
`nameTable::nameRecords' of NULL object
OpenTypeUtilities.cpp:259: warning: (perhaps the `offsetof' macro was used
incorrectly)
g++ -c -o ttf2eot.o ttf2eot.cpp
g++ -o ttf2eot OpenTypeUtilities.o ttf2eot.o
Original comment by yorickvanpelt
on 28 Apr 2009 at 10:13
I've tested it with gcc from cygwin and it seemed to work, I'll try mingw.
Original comment by taviso
on 28 Apr 2009 at 12:59
This change has not fixed the problem.
Original comment by yorickvanpelt
on 28 Apr 2009 at 1:27
Correction, it works now when not using "<" :)
Original comment by yorickvanpelt
on 28 Apr 2009 at 1:32
Okay, I think i've fixed msvc and mingw32 support in svn, it's basically the
translated stdio stuff windows uses that was confusing it.
I wasn't expecting anyone to want to use this on Windows, so hadn't tested it
until
now :-)
I'll make a release this evening if I don't get any complaints.
Original comment by taviso
on 28 Apr 2009 at 2:27
Original issue reported on code.google.com by
ozkan%az...@gtempaccount.com
on 27 Apr 2009 at 4:54