Handle C++ generation with afb-genskel

Fixed

Description

About now, afb-genskel could generate header file containing the binding structures declarations. But it is for C, and C++ is a bit more restrictive have some problem with union used for afb_auth struct.

As already seen with all stuff for c++ is already included in App Framework, it is only the afb-genskel that need to be modified. If I remember well.

Environment

None

Activity

Show:

jose bollo 
January 18, 2018 at 8:22 AM

it is in EEL already. See 5 latest commits at https://git.automotivelinux.org/src/app-framework-binder/log/?h=eel

Walt Miner 
January 17, 2018 at 10:00 PM

should this be cherry picked to Eel?

Romain Forlot 
December 21, 2017 at 5:42 PM

This is ok to me

Romain Forlot 
December 21, 2017 at 5:42 PM

Latest app-template on mater branch use it now.

If your project has PROJECT_LANGUAGES set to CXX then it will had the flag when calling afb-genskel.

jose bollo 
December 21, 2017 at 4:06 PM

The devlopement tool "afb-genskel" now accept the option --cpp to produce C++ compatible declarations.

Details

Assignee

Reporter

Fix versions

Labels

Contract ID

Components

Affects versions

Priority

Created December 20, 2017 at 10:43 PM
Updated January 19, 2018 at 5:16 PM
Resolved January 17, 2018 at 5:48 PM

Flag notifications