Good, thanks!
On 02/25/2013 01:36 PM, Jean-Paul Chaput wrote:
> Hello Mr Stigge,
>
> Thank you for your interest in Alliance.
> The correction will be integrated into the next release,
> by the end of april.
>
> Best regards,
>
>
> On Sat, 2013-02-23 at 15:45 +0100, Roland Stigge wrote:
>> Hello together,
>>
>> may I bring the following issue to your attention: At Debian, the
>> following report has been filed recently:
>>
>> =======================================================================
>> While building the package using our research compiler infrastructure we
>> noticed
>> the following conflicting declarations:
>>
>> - ctp/src/ctp_l.l:
>> typedef struct
>> {
>> char *NAME; /* identifier name */
>> long LEFT; /* vector's left index */
>> long RIGHT; /* vector's right index */
>> short WIDTH;
>> char FLAG;
>> }
>> ctp_name;
>>
>> - ctp/src/ctp_bspec.h:
>> typedef struct
>> {
>> char *NAME; /* identifier name */
>> long LEFT; /* vector's left index */
>> long RIGHT; /* vector's right index */
>> char FLAG; /* scalar ('S') or array 'A' */
>> char TYPE; /* scalar ('S') or array 'A' */
>> char SIGNED;
>> }
>> ctp_name;
>>
>> As ctp_name is part of the union type of yylval, the lexer and parser use
>> different and conflicting definitions of yylval, which possibly causes
>> undefined
>> behaviour.
>> =======================================================================
>>
>> See also http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=700965
>>
>> I guess the right way to fix this is to synchronize both definitions by
>> using the
>> definition from the .h file, or even better, #include the .h file inside the
>> .l file?
>>
>> Thanks in advance,
>>
>> Roland
>
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]