Mercurial > mplayer.hg
view DOCS/README @ 17566:f580a7755ac5
Patch by Stefan Huehner / stefan % huehner ! org \
patch replaces '()' for the correct '(void)' in function
declarations/prototypes which have no parameters. The '()' syntax tell
thats there is a variable list of arguments, so that the compiler cannot
check this. The extra CFLAG '-Wstrict-declarations' shows those cases.
Comments about a similar patch applied to ffmpeg:
That in C++ these mean the same, but in ANSI C the semantics are
different; function() is an (obsolete) K&R C style forward declaration,
it basically means that the function can have any number and any types
of parameters, effectively completely preventing the compiler from doing
any sort of type checking. -- Erik Slagter
Defining functions with unspecified arguments is allowed but bad.
With arguments unspecified the compiler can't report an error/warning
if the function is called with incorrect arguments. -- M\ns Rullg\rd
author | rathann |
---|---|
date | Thu, 09 Feb 2006 14:08:03 +0000 |
parents | 5c232a30d497 |
children | 4c9698666a4c |
line wrap: on
line source
####################################### ## Reading the MPlayer Documentation ## ####################################### Thanks for reading MPlayer documentation !!! 1. For "release" version users (i.e. non-CVS): a, Enter the HTML/ directory, and there you'll find the documentation, each language in its own subdirectory. b, If you prefer reading the documentation as a single big file it can be found in the HTML-single/ directory, each language in its own subdirectory. c, If the HTML/ or HTML-single/ directories don't contain your language, try the subdirectories in this very same folder. 2. For "development" version users (i.e. CVS or CVS snapshots): a, Enter the xml/ directory, and read the README file there to find out how to build a HTML version of the XML documentation. It will be created in the HTML/ and HTML-single/ directories. b, If the xml/ directory doesn't contain your language, try the subdirectories in this very same folder.