Package: hplip
Version: 0.9.2
Severity: wishlist
Tags: patch

Same with 0.9.3.

g++ -DPACKAGE_NAME=\"hpijs\" -DPACKAGE_TARNAME=\"hpijs\" 
-DPACKAGE_VERSION=\"2.1.2\" -DPACKAGE_STRING=\"hpijs\ 2.1.2\" 
-DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"hpijs\" -DVERSION=\"2.1.2\" 
-DHAVE_LIBJPEG=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 
-DHAVE_MALLOC_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1 -DVERSION=\"2.1.2\" 
-DHAVE_STRTOD=1 -DHAVE_STRTOL=1 -DHAVE_LIBM=1  -I. -I.     -Wall -pipe -g -O2 
-DAPDK_LITTLE_ENDIAN -DAPDK_DJ660 -DAPDK_DJ6xx -DAPDK_DJ6xxPhoto -DAPDK_DJ8xx 
-DAPDK_DJ9xx -DAPDK_DJ9xxVIP -DAPDK_DJ630 -DAPDK_APOLLO2XXX -DAPDK_APOLLO21XX 
-DAPDK_APOLLO2560 -DAPDK_DJ600 -DAPDK_DJ350 -DAPDK_DJ8x5 -DAPDK_PSP100 
-DAPDK_AUTODUPLEX -DAPDK_HIGH_RES_MODES -DAPDK_LJMONO -DAPDK_DJ540 -DAPDK_DJ850 
-DAPDK_DJ890 -DAPDK_DJ3320 -DAPDK_LJCOLOR -DAPDK_DJGENERICVIP -DAPDK_LJJETREADY 
 -DAPDK_LJFASTRASTER -DAPDK_BUFFER_SEND -DAPDK_LDL_COMPRESS 
-DAPDK_EXTENDED_MEDIASIZE -DAPDK_MLC_PRINTER -DAPDK_DJ3600 -DAPDK_LINUX 
-DAPDK_AUTO_INCLUDE -c -o hpijs.o hpijs.cpp
printerproxy.h:69: error: ISO C++ forbids declaration of 'Printer' with no type
printerproxy.h:69: error: 'Printer' declared as a 'virtual' field
printerproxy.h:69: error: expected ';' before '*' token
printerfactory.h:92: error: ISO C++ forbids declaration of 'Printer' with no 
type
printerfactory.h:92: error: 'Printer' declared as an 'inline' field
printerfactory.h:92: error: expected ';' before '*' token
printerfactory.h:178: error: expected initializer before '*' token


--- hplip-0.9.2.orig/prnt/hpijs/printerproxy.h
+++ hplip-0.9.2/prnt/hpijs/printerproxy.h
@@ -47,6 +47,7 @@
 } PROXY_VOTE;


+class Printer;

 //PrinterProxy
 //!Provide act on behalf of the printer class for matching, names, voting, etc

Reply via email to