Ticket #139 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

COBIA code gen does not work on linux

Reported by: jasper Owned by: jasper
Priority: major Milestone: Maintenance of Phase II
Component: Code generation Version: 1.2.0.10
Keywords: Cc:

Description

std::regex searches do not work as expected. Example:

$ COBIA_CodeGen -n -u -o TestUnit.h -c TestUnit
Created: TestUnit.h
$ COBIA_CodeGen -A -o TestUnit.h -c TestUnit -i ./CAPEOPEN_1_2.CIDL -I CAPEOPEN_1_2::ICapeIdentification
in ICapeCodeGen::addInterfacesToClass of COBIA CPP Stub Code Generator: class "TestUnit" not found

verified with gcc and clang.

Change History

comment:1 Changed 2 years ago by jasper

Problem is with multi-line constructs: ^ and $ are not matched. The multiline construct requires c++17

Last edited 2 years ago by jasper (previous) (diff)

comment:2 Changed 2 years ago by jasper

  • Status changed from new to closed
  • Resolution set to fixed

In [313]:

Fix #139

comment:3 Changed 2 years ago by jasper

In [314]:

Fix #139

Note: See TracTickets for help on using tickets.