[CONC-134] build from the source on Linux Created: 2015-06-23  Updated: 2015-06-26  Resolved: 2015-06-26

Status: Closed
Project: MariaDB Connector/C
Component/s: None
Affects Version/s: 2.1
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Ludealol Assignee: Georg Richter
Resolution: Not a Bug Votes: 0
Labels: None
Environment:

Debian


Attachments: Zip Archive test connector.zip    

 Description   

I am compiling with gcc from source and i included the binaries into my project.
I try tro compile with an exemple like : "print("version %n\n", mysql_get_client_info());

And I have this error : redeclaration of c++ built-in type 'bool' in my_global.h
It is an error of linking, compilation, or an issue ?



 Comments   
Comment by Georg Richter [ 2015-06-26 ]

Can you please attach a compete example?

Comment by Ludealol [ 2015-06-26 ]

done !
Using C::B and gcc 4.7 on Debian 7.8 x86_64

Comment by Georg Richter [ 2015-06-26 ]

my_global.h is used by libmariadb internally and shouldn't be inclluded in client application

Generated at Thu Feb 08 03:03:08 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.