Skip Menu |

This queue is for tickets about the Template-Toolkit CPAN distribution.

Report information
The Basics
Id: 86057
Status: resolved
Priority: 0/
Queue: Template-Toolkit

People
Owner: Nobody in particular
Requestors: ilmari [...] ilmari.org
Cc:
AdminCc:

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



Subject: [PATCH] Fix redefinition warnings in Stash.xs
Stash.xs includes pport.h before XSUB.h, which causes redefinition warnings, sincde ppport.h conditionally provides replacements for several macros that are defined in XSUB.h. The attached patch fixes these warnings by switching the order of the includes.
Subject: ppport-warnings.patch
--- xs/Stash.xs~ 2012-02-08 07:17:34.000000000 +0000 +++ xs/Stash.xs 2013-06-11 12:48:50.805934895 +0100 @@ -36,8 +36,8 @@ #include "perl.h" #define NEED_sv_2pv_flags #define NEED_newRV_noinc -#include "ppport.h" #include "XSUB.h" +#include "ppport.h" #ifdef __cplusplus }
Ticket migrated to github as https://github.com/abw/Template2/issues/119