|
Back
Midas
Rome
Roody
Rootana
|
Midas DAQ System |
Not logged in |
|
|
30 Apr 2019, Konstantin Olchanski, Info, How to convert C midas frontends to C++
|
05 Jun 2019, Konstantin Olchanski, Info, How to convert C midas frontends to C++
|
13 Jan 2020, Konstantin Olchanski, Info, How to convert C midas frontends to C++, CAEN libraries
|
23 Jul 2019, Frederik Wauters, Forum, How to convert C midas frontends to C++
|
23 Jul 2019, Stefan Ritt, Forum, How to convert C midas frontends to C++
|
23 Jul 2019, Frederik Wauters, Forum, How to convert C midas frontends to C++
|
23 Jul 2019, Stefan Ritt, Forum, How to convert C midas frontends to C++
|
23 Jul 2019, Lukas Gerritzen, Forum, How to convert C midas frontends to C++
|
25 Jul 2019, Frederik Wauters, Forum, How to convert C midas frontends to C++ (my problem solved)
|
30 Jul 2019, Stefan Ritt, Forum, How to convert C midas frontends to C++ (my problem solved)
|
01 Aug 2019, Stefan Ritt, Forum, How to convert C midas frontends to C++ (my problem solved)
|
09 Aug 2019, Konstantin Olchanski, Forum, How to convert C midas frontends to C++
|
|
Message ID: 1542
Entry time: 05 Jun 2019
In reply to: 1526
Reply to this: 1764
|
Author: |
Konstantin Olchanski |
Topic: |
Info |
Subject: |
How to convert C midas frontends to C++ |
|
|
> To convert a MIDAS frontend to C++ follow this checklist:
Pierre A.-A. reminded me that include files for CAEN libraries have to
use "extern C" brackets:
some 3rd party libraries (CAEN, etc) are written in C (or require C linkage),
if their include files are not C++ compatible (do not have "extern C" brackets
for all exported symbols), the experiment frontend code must say something like this:
extern "C" {
#include "3rd-party-c-library.h"
}
Note: "#ifdef cplusplus" is not needed because we already know we are C++, not C.
K.O. |