> I am having a problem when I try to compile an fltk derived class that
> includes some database access code that included pqxx. If I order the
> include files with FL/FL.h before kitchen.h (as Fluid wants to order
> them) I get the following error:
Which version of fltk, and what target platform?
Anyway, with more recent versions of fluid (e.g. from the fltk-1.3
series), you have some more control over how the header files are
ordered, by using the declaration properties dialog; that may be enough
to allow you to put your kitchen.h before the fltk headers... Worth a
try at any rate.
Looking at your specific problem, I'm guessing there's a #define or
variable declaration that in one set of headers that is aliasing with
something similar in the other...
Can you show us the code that is failing at:
> /usr/include/pqxx/connection_base.hxx:791: error: expected
> unqualified-id before ')' token
And at...
> /usr/include/pqxx/transaction_base.hxx:331: error: expected identifier
> before 'int'
> /usr/include/pqxx/transaction_base.hxx:332: error: expected
> unqualified-id before '{' token
In case that shows us something useful...
> This database code is used by several other developers(not
> working with
> fltk) and has not had this type of problem with other libraries.
As I say, probably a clash of names somewhere - if you can show us more
of the detail, we might be able to suggest something useful.
SELEX Galileo Ltd
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14
3EL
A company registered in England & Wales. Company no. 02426132
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk