Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 193404 - media-libs/libsdl uses c++ (non c90 comments) in public headers
Summary: media-libs/libsdl uses c++ (non c90 comments) in public headers
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Games
URL: http://bugzilla.libsdl.org/show_bug.c...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-22 11:18 UTC by Robert Wohlrab
Modified: 2007-10-21 00:34 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Removed some C++ style comments from the public headers (libsdl-1.2.12-c90-comments.patch,600 bytes, patch)
2007-09-22 11:20 UTC, Robert Wohlrab
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Wohlrab 2007-09-22 11:18:48 UTC
When you try to compile ansi c stuff with libsdl-1.2.12 you will produce errors or warnings due usage of c++ comments in public headers

Reproducible: Always

Steps to Reproduce:
1. emerge libsdl-1.2.12
2. compile c code using libsdl with -ansi (for more problems use -Wall -W -pedantic and co.)

Actual Results:  
Errors and Warnings about non-C90 comments in begin_code.h

Expected Results:  
a clean compile

This is fixed upstream
Comment 1 Robert Wohlrab 2007-09-22 11:20:26 UTC
Created attachment 131587 [details, diff]
Removed some C++ style comments from the public headers
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2007-10-21 00:34:44 UTC
In portage.  Thanks for the bug report.