#31994 closed update (fixed)
pwman: lion - compiler fix
Reported by: | mni@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.3 |
Keywords: | maintainer haspatch | Cc: | ryandesign (Ryan Carsten Schmidt), cooljeanius (Eric Gallager) |
Port: | pwman |
Description
pwman cant compile on a clean-install Lion.
Compilers clang and llvm-gcc refuses to build it, due to frequent use of 'casual return' :)
I have looked for compiler options to allow this, but was unable to find any. So I see no other way than to depend on the apple-gcc42 macport.
Attached is the Portfile-patch with this dependency - and it works fine.
Attachments (1)
Change History (5)
comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | maintainer haspatch added |
---|
comment:2 Changed 13 years ago by mni@…
New Portfile-patch now attached - with the correct compiler-selection statement.
Thanks for letting me know :)
comment:3 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Committed in r87073. Could you file a bug report about this with the developers of pwman?
Note: See
TracTickets for help on using
tickets.
We want to use the 3rd block shown in wiki:PortfileRecipes#compiler. We don't want to unconditionally use apple-gcc42 since that's unnecessary on Xcode versions earlier than 4.2.