Anonymous - 2012-11-03


I have a build error on src/ppdfile.cpp:
src/ppdfile.cpp:285:40: error: ‘PPDFile::Value::Value’ names the constructor, not the type
src/ppdfile.cpp:285:63: error: ISO C++ forbids declaration of ‘val’ with no type
src/ppdfile.cpp:285:6: error: prototype for ‘void PPDFile::Value::operator=(const int&)’ does not match any in class ‘PPDFile::Value’
include/ppdfile.h:199:25: error: candidate is: void PPDFile::Value::operator=(const PPDFile::Value&)

This can be fixed with the following modification:
src/ppdfile.cpp:285: - void PPDFile::Value::operator = (const PPDFile::Value::Value &val)
src/ppdfile.cpp:285: +void PPDFile::Value::operator = (const PPDFile::Value &val)