Skip Menu |

This queue is for tickets about the Tickit CPAN distribution.

Report information
The Basics
Id: 87771
Status: resolved
Priority: 0/
Queue: Tickit

Owner: Nobody in particular
Requestors: TEAM [...]

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

Subject: va_copy requires X/Open 6
Download (untitled) / with headers
text/plain 802b
From src/term.c: /* We need strdup */ #define _XOPEN_SOURCE 500 since X/Open 5 includes POSIX 1994, that means we don't have va_copy yet -, if I'm reading the versions correctly. It's only used in one place ( tickit_term_vprintf). With X/Open 6, we're up to POSIX 2004, so we get which has the required va_copy() macro. Moving <stdarg.h> before the _XOPEN_SOURCE #define might also make things compile if GNU extensions are picked up, but I *think* the correct thing to do here is /* We need strdup */ #define _XOPEN_SOURCE 600 and in testing on FreeBSD 9.0 w/gcc 4.2, that gives me a clean compile with just the Build.PL patch for -std=gnu99. cheers, Tom
Ah yes. Bumping _XOPEN_SOURCE to 600 seems sensible. Fixed in latest source. -- Paul Evans
Released in 0.38 -- Paul Evans

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

Please report any issues with to