helpMySQL++ - Support: sr #2256, mysql++.m4 and c++

 
 
Show feedback again

sr #2256: mysql++.m4 and c++

Submitted by:  None
Submitted on:  Thu 05 Feb 2009 11:22:53 AM UTC  
 
Category: NonePriority: 5 - Normal
Severity: 2 - MinorStatus: None
Privacy: PublicAssigned to: None
Originator Email: -unavailable-Open/Closed: Open
Operating System: GNU/Linux

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 05 Feb 2009 11:22:53 AM UTC, original submission:

Dear MySQL++ team,

Currently I am adding a dependancy for mysql++ in the project openggd -openggd.sourceforge.net-.

I am not used to working with autoconf, but I found a problem using your mysql++.m4 file.

By the end of that file there is a small code compilation using CC, but in my case this was done with gcc instead of g++. It was solved adding two lines near the end of your file, AC_LANG_PUSH and AC_LANG_POP :

AC_MSG_CHECKING([that we can build MySQL++ programs])
--> AC_LANG_PUSH(C++)
AC_COMPILE_IFELSE(
[AC_LANG_PROGRAM([#include <mysql++.h>],
[mysqlpp::Connection c(false)])],
ac_cv_mysqlpp_devel=yes,
AC_MSG_ERROR(no))
--> AC_LANG_POP(C++)

Maybe you could consider it isn't important enough to change your code. If you prefer I can send you a patch.

Thank you for your work

Juan Carlos

Anonymous

 

(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by None (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup