Skip Menu |
 

This queue is for tickets about the Convert-Binary-C CPAN distribution.

Report information
The Basics
Id: 95716
Status: resolved
Priority: 0/
Queue: Convert-Binary-C

People
Owner: Nobody in particular
Requestors: jdusaint [...] teslamotors.com
Cc:
AdminCc:

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



Subject: Add support for #warn/#warning
Date: Fri, 16 May 2014 21:02:02 +0000
To: "bug-Convert-Binary-C [...] rt.cpan.org" <bug-Convert-Binary-C [...] rt.cpan.org>
From: Jon DuSaint <jdusaint [...] teslamotors.com>
Download (untitled) / with headers
text/plain 374b
Seen with Convert::Binary::C 0.76 on Mac OS 10.9.2 with perl 5.16.2. Neither #warn nor #warning are recognized by ucpp. To reproduce: use Convert::Binary::C; Convert::Binary::C->new->parse(qq[#warning "Warning!"\n]); There will be an error: [buffer], line 1: unknown cpp directive '#warning' at - line 2. The accompanying patch adds both #warn and #warning to ucpp.
Download warning.patch
text/x-diff 2.9k

Message body is not shown because sender requested not to inline it.

Download (untitled) / with headers
text/plain 541b
On Fri May 16 17:02:15 2014, jdusaint@teslamotors.com wrote: Show quoted text
> Seen with Convert::Binary::C 0.76 on Mac OS 10.9.2 with perl 5.16.2. > > Neither #warn nor #warning are recognized by ucpp. > > To reproduce: > > use Convert::Binary::C; > Convert::Binary::C->new->parse(qq[#warning "Warning!"\n]); > > There will be an error: > > [buffer], line 1: unknown cpp directive '#warning' at - line 2. > > The accompanying patch adds both #warn and #warning to ucpp. > >
Thanks for the patch! This has been released with Convert-Binary-C 0.78


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.