The default values of functions' arguments have to be specified at

declaration, not at definition. The new -current's compiler treats
this as an error.

PR:		ports/48716
Submitted by:	Erwin Lansing (the maintainer)
Approved by:	maintainer
This commit is contained in:
Mikhail Teterin 2003-02-26 20:47:37 +00:00
parent 87447de673
commit d5476df205
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=76517

View File

@ -0,0 +1,9 @@
--- src/HtmlOutputDev.cc Sun Jan 12 19:09:52 2003
+++ src/HtmlOutputDev.cc Wed Feb 26 13:47:52 2003
@@ -789,5 +789,5 @@
HtmlOutputDev::HtmlOutputDev(char *fileName, char *title,
char *author, char *keywords, char *subject, char *date,
- GBool rawOrder, int firstPage = 1)
+ GBool rawOrder, int firstPage /* default value is 1 */)
{
char *htmlEncoding;