B
Bart van Pelt
During compilation of some software I made, I encounterd the following
behaviour.
I downloaded mysql.4.0.2.tar.gz
untarred it,
configured it for use on /usr/local, so I could use it and also continue to
use mysql.3.23 which was installed by redhat on my system
compiled it
installed it
Now I made some software, to read from mysql database.
This software was compiled with
gcc -I/usr/local/mysql/include -I. mysource.c
This compiled ok and ran ok until...
There was a small difference in mysql-3.23.0 en mysql-4.0.2
And the compiler although I specified an extra include path looked in
/usr/include
where a mysql directory was present with mysql.h. I would have liked the
compiler to first evaluate the specified incode paths by me, instead of the
defaults (which in this case were wrong).
Is this the correct behaviour for the precompiler?
Bart van Pelt
Please reply to (e-mail address removed) since I am not a regular visitor of this
newgroup.
behaviour.
I downloaded mysql.4.0.2.tar.gz
untarred it,
configured it for use on /usr/local, so I could use it and also continue to
use mysql.3.23 which was installed by redhat on my system
compiled it
installed it
Now I made some software, to read from mysql database.
This software was compiled with
gcc -I/usr/local/mysql/include -I. mysource.c
This compiled ok and ran ok until...
There was a small difference in mysql-3.23.0 en mysql-4.0.2
And the compiler although I specified an extra include path looked in
/usr/include
where a mysql directory was present with mysql.h. I would have liked the
compiler to first evaluate the specified incode paths by me, instead of the
defaults (which in this case were wrong).
Is this the correct behaviour for the precompiler?
Bart van Pelt
Please reply to (e-mail address removed) since I am not a regular visitor of this
newgroup.