Home » U++ Library support » U++ SQL » SQL_mySQL reference problems
Re: SQL_mySQL reference problems [message #1541 is a reply to message #1535] |
Wed, 08 March 2006 15:05   |
aplatypus
Messages: 11 Registered: March 2006 Location: Newcastle, Australia
|
Promising Member |
|
|
recent update ...
The minGW reference material indicates this problem is to do with the sequence of #include files in the sources.
Ihave seen this problem a lot with the microsoft compilers, when the <windows.h> is included in the wrong place.
Unfortunately I don't (yet) get all the sbutlities of the include dependencies. As an aside, it would be really useful for one of the Assits++ tools to manage dependencies (of various kinds).
When I look at the generated preprocessor output, indeed the mySQL.h files are included before the windows.h file. My diffculty so far appears to be the stuff and the order includes are used in <core.h>.
I am not precisely sure why this affects the linkage. The library and object file sequences used to be in the ld command line. My suspicion is that the 'problem' is a side-effect and if I could specify linkage explicitly it might work a-OK. Though I admit to guessing here.
That's what I know. If I'm on the wrong track, tell. File that links with a Microsoft compiler will link with minGW objects and libraries. The question might be about how I set-the-order for searching libraries during linking.
Nice chatting,
... Will.
Kind regards,
aplatypus
________________________________________
|
|
|
Goto Forum:
Current Time: Sun Apr 27 02:45:19 CEST 2025
Total time taken to generate the page: 0.02970 seconds
|