Page 1 of 1

IDL generator doesn't assign a value to a constant declarati

PostPosted: Sat 22 Aug 2015 22:21
by morini
When generating an IDL file a constant declarations value assignment wasn't generated.

Have a look at the attachments for the declarations. The resulting code looks as follows:
Code: Select all
#ifndef OBSERVATION_DEFINITIONS_H
#define OBSERVATION_DEFINITIONS_H


module Observation {

//Definitions common to all its interfaces.

interface Definitions
{
  const unsigned long FTD_OBSERVANT_ID_IDX;

  const unsigned long FTD_ATTRIBUTE_NAME_IDX;

  const unsigned long FTD_NEW_VALUE_IDX;

} /* Definitions */;

}; // module Observation
#endif

Re: IDL generator doesn't assign a value to a constant decla

PostPosted: Sun 23 Aug 2015 07:36
by Bruno Pagès
You are right, i wrongly managed this case, will be fixed

Thank you for the bug report

Re: IDL generator doesn't assign a value to a constant decla

PostPosted: Sun 23 Aug 2015 18:48
by Bruno Pagès
The release 6.8.7 is available, fixing this bug

Re: IDL generator doesn't assign a value to a constant decla

PostPosted: Sun 23 Aug 2015 20:05
by morini
Many thanks! Works fine for me now.

Thomas