#40856 closed defect (fixed)
ragel: error: use of undeclared identifier 'setiosflags'; did you mean 'std::setiosflags'?
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | mww@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.2.0 |
Keywords: | haspatch | Cc: | lpsinger (Leo Singer) |
Port: | ragel |
Description
On Mavericks, ragel fails to build:
javacodegen.cpp:1187:20: error: use of undeclared identifier 'setiosflags'; did you mean 'std::setiosflags'? out << setw(5) << setiosflags(ios::right) << item; ^~~~~~~~~~~ std::setiosflags
Attachments (3)
Change History (9)
Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
comment:1 Changed 11 years ago by lpsinger (Leo Singer)
Cc: | aronnax@… added |
---|
comment:2 Changed 11 years ago by lpsinger (Leo Singer)
Attaching patch based on FreeBSD's solution, <http://lists.freebsd.org/pipermail/freebsd-ports-bugs/2011-December/224547.html>.
Changed 11 years ago by lpsinger (Leo Singer)
Attachment: | patch-Portfile.diff added |
---|
Proposed change to Portfile
Changed 11 years ago by lpsinger (Leo Singer)
Attachment: | patch-ragel-javacodegen.cpp.diff added |
---|
New patchfile
comment:3 Changed 11 years ago by cabo@…
FYI, the original fix is in the ragel repo git://git.complang.org/ragel.git as Commit: 0a721c293a59842368b41e16469e9999859f0329 [0a721c2] (adds "using std::setiosflags;" after "using std::endl;".) But the FreeBSD hack of course, works, too.
comment:4 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | haspatch added |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Thanks. Using the upstream fix is probably best. r112655 (maintainer timeout)
Note: See
TracTickets for help on using
tickets.
Cc Me!