Watch, Follow, &
Connect with Us

Please visit our new home
community.embarcadero.com.


Welcome, Guest
Guest Settings
Help

Thread: sigC++ signals library w/ C++Builder 10.1 Berlin?


This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 2 - Last Post: Apr 20, 2017 3:22 PM Last Post By: Andrew Bond Threads: [ Previous | Next ]
Andrew Bond

Posts: 183
Registered: 3/8/00
sigC++ signals library w/ C++Builder 10.1 Berlin?  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 20, 2017 11:07 AM
Has anyone managed to get the sigC++ signals library to work with C++Builder 10.1 Berlin (Update 2)?

I am using the 32-bit CLANG compiler and I am getting the following error message in slot.h:

[C++ Error] slot.h(136, 35): use 'template' keyword to treat 'operator ()' as a dependent template name

I am also unsure how to setup the sigc++config.h file for CLANG.

If anyone can help, I'd be most grateful.

Thanks

Andrew
Greg Reese

Posts: 85
Registered: 7/15/05
Re: sigC++ signals library w/ C++Builder 10.1 Berlin?  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 20, 2017 12:23 PM   in response to: Andrew Bond in response to: Andrew Bond
Andrew Bond wrote:
Has anyone managed to get the sigC++ signals library to work with C++Builder 10.1 Berlin (Update 2)?

Andrew,
Can you post a link to the source code that you're using?
Greg Reese
Andrew Bond

Posts: 183
Registered: 3/8/00
Re: sigC++ signals library w/ C++Builder 10.1 Berlin?  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 20, 2017 3:21 PM   in response to: Greg Reese in response to: Greg Reese
Andrew,
Can you post a link to the source code that you're using?
Greg Reese

I downloaded sigC++ v2.3.2 from here:

http://ftp.gnome.org/pub/GNOME/sources/libsigc++/2.3

There is a config file that caters for Microsoft Visual C++ but not C++Builder. I just reused the VisC settings.

Edited by: Andrew Bond on Apr 20, 2017 3:21 PM
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02