Skip navigation links

MySQL Forums :: MySQL Connector/C++ :: error:identifier “@” is inactive in the preprocessing expression


Advanced Search

error:identifier “@” is inactive in the preprocessing expression
Posted by: jing qian ()
Date: May 03, 2011 06:38PM

when debugging a C programme with mysql, the result is as below:

[root@ PC0 Mysql]# gcc -g -o test2 -I/usr/local/mysql/include/mysql Test2.c -L/usr/lib/mysql -lmysqlclient -lz

In the file including file Test2.c:5:

/usr/local/mysql/include/mysql.h:290:74: error:identifier “@” is inactive in the

preprocessing expression.

how to solve the problem?

Options: ReplyQuote


Subject Views Written By Posted
error:identifier “@” is inactive in the preprocessing expression 1021 jing qian 05/03/2011 06:38PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.