Opened 16 years ago
Closed 16 years ago
#3958 closed bug (fixed)
libio.h and BeBuild.h headers using c++ style comments (easy)
Reported by: | scottmc | Owned by: | axeld |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | - General | Version: | R1/pre-alpha1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
While trying to build freetype-2.3.9 I ran into this error:
In file included from /boot/develop/headers/posix/stdio_pre.h:11, from /boot/develop/headers/posix/stdio.h:56, from /boot/develop/headers/bsd/stdio.h:9, from /boot/home/freetype-2.3.9/include/freetype/config/ftstdlib.h:99, from /boot/home/freetype-2.3.9/builds/unix/ftconfig.h:43, from /boot/home/freetype-2.3.9/src/base/ftsystem.c:29: /boot/develop/headers/posix/libio.h:222: unterminated character constant /boot/develop/headers/posix/libio.h:270: unbalanced `#endif' make: *** [/boot/home/freetype-2.3.9/objs/ftsystem.lo] Error 1
Changing line 222 in libio.h to use c style comments fixes this. /* comment */ rather than ing out the line ;)
Attachments (1)
Change History (5)
comment:1 by , 16 years ago
comment:2 by , 16 years ago
Summary: | libio.h unbalanced #endif → libio.h and BeBuild.h headers using c++ style comments (easy) |
---|
comment:3 by , 16 years ago
I've attached a patch that'll fix BeBuild.h up. For the libio.h fix, it would be covered by the patch attached to ticket #3481
Note:
See TracTickets
for help on using tickets.
found another comment type error, this one in:
/boot/develop/headers/be/BeBuild.h
lines #16 and #26 With these two files fixed I'm now able to compile freetype-2.3.9.