[ gaim-Support Requests-1351812 ] plugin compiled with g++ is not listed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Support Requests item #1351812, was opened at 2005-11-08 19:45
Message generated for change (Comment added) made by lschiere
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=200235&aid=1351812&group_id=235

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
Priority: 5
Submitted By: Vera Zaychik (zaychik)
Assigned to: Nobody/Anonymous (nobody)
Summary: plugin compiled with g++ is not listed

Initial Comment:
I am writing a plugin for gaim that has to use several
objects in a particular library. As a result, I created
a simple makefile that reproduced what the Makefile in
plugins directory did substituting gcc with g++.
Everything compiles and links fine, but gaim does not
list the plugin in the plugins list. If I comment out
the OO code and compile with gcc instead, the plugin IS
listed. Can I compile with g++ and still have gaim
recognize the plugin? I am using gaim 1.5.0.

Thanks.

----------------------------------------------------------------------

>Comment By: Luke Schierer (lschiere)
Date: 2005-11-10 17:25

Message:
Logged In: YES 
user_id=28833

cool. 

----------------------------------------------------------------------

Comment By: Vera Zaychik (zaychik)
Date: 2005-11-10 17:00

Message:
Logged In: YES 
user_id=1375620

Ok, I figured it out. If I add 
extern "C" {
GAIM_INIT_PLUGIN(haildesktop, init_plugin, info)
}
and -lstdc++ for linking, then it works.


----------------------------------------------------------------------

Comment By: Luke Schierer (lschiere)
Date: 2005-11-10 11:51

Message:
Logged In: YES 
user_id=28833

it should be possible, but you'd have to put the gaim
related code in a C namespace block, I forget the exact
syntax.  

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=200235&aid=1351812&group_id=235


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Gaim-support mailing list
Gaim-support@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/gaim-support

[Index of Archives]     [Kernel Development]     [Red Hat Install]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux