External SVN item in kdebase/runtime/nepomuk/services/queryservice/lib

Thiago Macieira thiago at kde.org
Wed Sep 17 23:08:35 BST 2008

Andreas Pakulat wrote:
>- a code-generator provides a memory pool for the AST nodes, but
>  kdevelop doesn't want to force everybody to compile that
>  playground-generator. So it includes pre-generated code, but still
>  needs the headers for the memory pool. Copying the headers would
>  mean real code-duplication, so its an external. OTOH the generator
>  should not depend on kdevelop.

If the generated code needs headers, those headers have to be installed or 
made part of the generated code.

It's just like bison: imagine you have the .y source file and you commit 
the generated .cpp file. But that .cpp file requires headers from bison.

So you added a .cpp so that people don't have to install bison, but they 
have to install bison because of the header...

Doesn't make sense. (Bison's output is self-contained)
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080918/443fd529/attachment.sig>

More information about the kde-core-devel mailing list