I receive the following parse errors when attempting to compile a client
program on a Linux box using gcc 2.96:
gcc -c -DMYSQL -I/var/src/mysql-3.23.49/include checkhttpd.c
In file included from checkhttpd.c:9:
/var/src/mysql-3.23.49/include/mysql.h:175: parse error before `1'
/var/src/mysql-3.23.49/include/mysql.h:188: parse error before `1'
/var/src/mysql-3.23.49/include/mysql.h:188: warning: no semicolon at end of
stru
ct or union
/var/src/mysql-3.23.49/include/mysql.h:190: parse error before `}'
/var/src/mysql-3.23.49/include/mysql.h:190: warning: data definition has no
type
 or storage class
/var/src/mysql-3.23.49/include/mysql.h:195: parse error before `*'
/var/src/mysql-3.23.49/include/mysql.h:196: parse error before `*'
/var/src/mysql-3.23.49/include/mysql.h:197: parse error before `*'
/var/src/mysql-3.23.49/include/mysql.h:198: parse error before `*'
/var/src/mysql-3.23.49/include/mysql.h:200: parse error before `*'
/var/src/mysql-3.23.49/include/mysql.h:201: parse error before `*'
/var/src/mysql-3.23.49/include/mysql.h:202: parse error before `*'
/var/src/mysql-3.23.49/include/mysql.h:204: parse error before `1'

When I look at the mysql.h header, everything looks ok.

Any clues?

Pat...
[EMAIL PROTECTED]



---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to