Power management dataengine: Odd compile error

Aaron J. Seigo aseigo at kde.org
Sun May 29 22:02:03 CEST 2011


On Monday, May 30, 2011 01:13:20 Viranch Mehta wrote:
> Hey!
> 
> Aaron's suggestion worked :)
> 
> But I don't understand, it compiled fine earlier. After I added the service
> and the job (not touching the engine.{h,cpp} at all), the compilation broke!

because you included the header, which had the plugin declaration macro, which 
meant the macro was included twice in the resulting compiled binary. ergo, the 
multiple-definition.

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Development Frameworks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20110529/78d1deec/attachment.sig 


More information about the Plasma-devel mailing list