Skip Menu |

This queue is for tickets about the Inline-Struct CPAN distribution.

Report information
The Basics
Id: 99145
Status: resolved
Priority: 0/
Queue: Inline-Struct

People
Owner: Nobody in particular
Requestors: heinz.knutzen [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Can't define struct with member named "src"
Date: Thu, 25 Sep 2014 23:03:45 +0200
To: bug-Inline-Struct [...] rt.cpan.org
From: Heinz Knutzen <heinz.knutzen [...] gmail.com>
If a struct is defined with some member named "src", the generated .xs file fails to compile. The error messages give no hint, what the real problem is. At least, it should abort with a clear error message. But better, it should be changed to allow all valid names as struct member. Example program: ============================================ use Inline C => <<'END', STRUCTS => 1; struct Foo { int src; int dst; }; END ============================================ Used versions: - Inline-Struct-0.11 - Perl v5.18.2
Thanks! Fixed in commit 128ad22a161f406517feeafde917d8566168f07c (and 0.12).
Subject: Re: [rt.cpan.org #99145] Can't define struct with member named "src"
Date: Sat, 27 Sep 2014 13:39:14 +0200
To: bug-Inline-Struct [...] rt.cpan.org
From: Heinz Knutzen <heinz.knutzen [...] gmail.com>
Thank you for fixing so quickly.