[okl4-developer] question on "string" and "smallstring" support

Jean-Christophe DUBOIS jcd at tribudubois.net
Thu Jul 17 19:53:53 EST 2008


Hum ... I am not sure that even the smallstring would work with the latest
OKL4 release. 

The smallstring type is understood by magpie ans the code seems to be
correctly generated but the smallstring type seems to be just missing from
OKL4 header files. Therefore no compilation is possible.

Was smallstring "removed" on purpose or is this a mistake?

Once again some documentation on the IDL syntax/types supported by OKL4
magpie would be helpful.

JC


On Thu, 17 Jul 2008 14:35:19 +0530, "Kalamkar, Dhiraj D"
<dhiraj.d.kalamkar at intel.com> wrote:
> smallstring should work. See the naming.idl4 in naming library
> (libs/naming/include/interfaces/naming.idl4) for reference code. I had
used
> smallstring as in parameter but for using it as out parameter was causing
> compilation problem in generated code.
> 
> --
> Dhiraj
> 
> -----Original Message-----
> From: developer-bounces at okl4.org [mailto:developer-bounces at okl4.org] On
> Behalf Of Jean-Christophe DUBOIS
> Sent: Thursday, July 17, 2008 11:53 AM
> To: developer at okl4.org
> Subject: Re: [okl4-developer] question on "string" and "smallstring"
> support
> 
> So does anybody have a clue on the types that are effectively supported
by
> the 
> OKL4 magpie compiler? 
> Is there any documentation about it? 
> Should I just forget about any "string" like support?
> 
> JC
> 
> Le Wednesday 16 July 2008 08:11:30 Jean-Christophe DUBOIS, vous avez
> écrit :
>> Hi Guys,
>>
>> According to the IDL4 compiler documentation
>> (http://l4ka.org/projects/idl4/idl4_manual.pdf), the "string" type
> should
>> be supported. But if you try to use this type in an IDL4 file the
> compiler
>> will choke on it. So I assume the compiler described in the above doc is
>> not at the same revision as the one used by by OKL4
>>
>> Looking in the OKL4 directories, it appears there is a type
>> named "smallstring" that should be supported. Indeed if you try to use
> this
>> type the IDL compiler will happily swallow it. But then the
> "smallstring"
>> support seems to be missing from the C header files and the C
> compilation
>> of the implementation file will fail.
>>
>> So several question:
>>
>> - Where is the documentation describing the IDL syntax supported by
> magpie
>> as used by OKL4.
>> - Is there a way to get the "string" or "smallstring" support?
>>
>> Thanks
>>
>> JC
>>
>> _______________________________________________
>> Developer mailing list
>> Developer at okl4.org
>> https://lists.okl4.org/mailman/listinfo/developer
> 
> 
> 
> _______________________________________________
> Developer mailing list
> Developer at okl4.org
> https://lists.okl4.org/mailman/listinfo/developer




More information about the Developer mailing list