Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#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)

main.log (28.6 KB) - added by ryandesign (Ryan Carsten Schmidt) 11 years ago.
patch-Portfile.diff (551 bytes) - added by lpsinger (Leo Singer) 11 years ago.
Proposed change to Portfile
patch-ragel-javacodegen.cpp.diff (339 bytes) - added by lpsinger (Leo Singer) 11 years ago.
New patchfile

Download all attachments as: .zip

Change History (9)

Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: main.log added

comment:1 Changed 11 years ago by lpsinger (Leo Singer)

Cc: aronnax@… added

Cc Me!

comment:2 Changed 11 years ago by lpsinger (Leo Singer)

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)

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: newclosed

Thanks. Using the upstream fix is probably best. r112655 (maintainer timeout)

comment:5 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Has duplicate #41060.

comment:6 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Has duplicates #40990, #41065.

Note: See TracTickets for help on using tickets.