|
|
Home » U++ Library support » U++ SQL » Using SQL in multiple source files
Using SQL in multiple source files [message #14768] |
Thu, 13 March 2008 23:48 |
dmcgeoch
Messages: 52 Registered: November 2006 Location: New Jersey
|
Member |
|
|
Hello all,
I have a project that I started this past summer. In it I divided the source into logical groupings to prevent having to search through a single large source file. The version of UPP that I had used (I don't remember exactly which one) and MINGW would refuse to link due to multiple declarations of the SQL variable names if I only recompiled a single file. If I rebuilt the entire project, the linking error was resolved. Now with the latest svn version (182) and MSC9 I can get the linker to complete without error. I have the schema and sqlite3 headers defined in the main include file.
I am just wondering if there is a work around, other than including all of the SQL statements in one file.
Thanks for the help,
Dave
Recompiled with MINGW and linked without an error. So the issue must be with MSC9. I still need to perform a completed rebuild for any changes to files that contain SQL statements.
[Updated on: Fri, 14 March 2008 00:47] Report message to a moderator
|
|
|
|
|
|
|
|
Goto Forum:
Current Time: Sun Apr 28 21:30:05 CEST 2024
Total time taken to generate the page: 0.03912 seconds
|
|
|