Opened 15 years ago

Closed 15 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)

BeBuild.patch (707 bytes ) - added by scottmc 15 years ago.
patch to fix commnets in BeBuild.h

Download all attachments as: .zip

Change History (5)

comment:1 by scottmc, 15 years ago

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.

comment:2 by scottmc, 15 years ago

Summary: libio.h unbalanced #endiflibio.h and BeBuild.h headers using c++ style comments (easy)

by scottmc, 15 years ago

Attachment: BeBuild.patch added

patch to fix commnets in BeBuild.h

comment:3 by scottmc, 15 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

comment:4 by bonefish, 15 years ago

Resolution: fixed
Status: newclosed

Thanks, applied in hrev30863.

Note: See TracTickets for help on using tickets.