pathumego / ttf2eot

Automatically exported from code.google.com/p/ttf2eot
0 stars 0 forks source link

Make fails on Ubuntu 11.10 #25

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. run make
2.
3.

What is the expected output? What do you see instead?

No binary is created

Make Output
    g++    -c -o OpenTypeUtilities.o OpenTypeUtilities.cpp
    OpenTypeUtilities.cpp:221:18: warning: multi-character character constant [-Wmultichar]
    OpenTypeUtilities.cpp:241:18: warning: multi-character character constant [-Wmultichar]
    OpenTypeUtilities.cpp:251:18: warning: multi-character character constant [-Wmultichar]
    OpenTypeUtilities.cpp: In function ‘bool getEOTHeader(unsigned char*, size_t, std::vector<unsigned char>&, size_t&, size_t&, size_t&)’:
    OpenTypeUtilities.cpp:191:41: error: expected primary-expression before ‘,’ token
    OpenTypeUtilities.cpp:191:43: error: ‘tables’ was not declared in this scope
    OpenTypeUtilities.cpp:191:49: error: ‘offsetof’ was not declared in this scope
    OpenTypeUtilities.cpp:196:41: error: expected primary-expression before ‘,’ token
    OpenTypeUtilities.cpp:196:43: error: ‘tables’ was not declared in this scope
    OpenTypeUtilities.cpp:196:49: error: ‘offsetof’ was not declared in this scope
    OpenTypeUtilities.cpp:253:70: error: expected primary-expression before ‘,’ token
    OpenTypeUtilities.cpp:253:72: error: ‘nameRecords’ was not declared in this scope
    OpenTypeUtilities.cpp:253:83: error: ‘offsetof’ was not declared in this scope
    OpenTypeUtilities.cpp:259:74: error: expected primary-expression before ‘,’ token
    OpenTypeUtilities.cpp:259:76: error: ‘nameRecords’ was not declared in this scope
    OpenTypeUtilities.cpp:259:87: error: ‘offsetof’ was not declared in this scope
    make: *** [OpenTypeUtilities.o] Error 1

What version of the product are you using? On what operating system?
tried version 0.0.2-1 and 0.0.2-2 on ubuntu 11.10 

Please provide any additional information below.

Original issue reported on code.google.com by m...@ashheskes.com on 30 Nov 2011 at 11:25

GoogleCodeExporter commented 9 years ago
Same as this http://code.google.com/p/ttf2eot/issues/detail?id=22

Original comment by Mr.Leon...@gmail.com on 7 Dec 2011 at 6:26

GoogleCodeExporter commented 9 years ago
On Ubuntu 12.04:
g++    -c -o OpenTypeUtilities.o OpenTypeUtilities.cpp
OpenTypeUtilities.cpp:221:18: warning: multi-character character constant 
[-Wmultichar]
OpenTypeUtilities.cpp:241:18: warning: multi-character character constant 
[-Wmultichar]
OpenTypeUtilities.cpp:251:18: warning: multi-character character constant 
[-Wmultichar]
OpenTypeUtilities.cpp: In function ‘bool getEOTHeader(unsigned char*, size_t, 
std::vector<unsigned char>&, size_t&, size_t&, size_t&)’:
OpenTypeUtilities.cpp:191:41: error: expected primary-expression before ‘,’ 
token
OpenTypeUtilities.cpp:191:43: error: ‘tables’ was not declared in this scope
OpenTypeUtilities.cpp:191:49: error: ‘offsetof’ was not declared in this 
scope
OpenTypeUtilities.cpp:196:41: error: expected primary-expression before ‘,’ 
token
OpenTypeUtilities.cpp:196:43: error: ‘tables’ was not declared in this scope
OpenTypeUtilities.cpp:196:49: error: ‘offsetof’ was not declared in this 
scope
OpenTypeUtilities.cpp:253:70: error: expected primary-expression before ‘,’ 
token
OpenTypeUtilities.cpp:253:72: error: ‘nameRecords’ was not declared in this 
scope
OpenTypeUtilities.cpp:253:83: error: ‘offsetof’ was not declared in this 
scope
OpenTypeUtilities.cpp:259:74: error: expected primary-expression before ‘,’ 
token
OpenTypeUtilities.cpp:259:76: error: ‘nameRecords’ was not declared in this 
scope
OpenTypeUtilities.cpp:259:87: error: ‘offsetof’ was not declared in this 
scope
make: *** [OpenTypeUtilities.o] Error 1

Original comment by anteprim...@gmail.com on 22 Jun 2012 at 12:18