[MacPorts] #30312: clang cannot compile nurses

MacPorts noreply at macports.org
Sat Jul 23 01:31:14 PDT 2011


#30312: clang cannot compile nurses
--------------------------------+-------------------------------------------
 Reporter:  vince@…             |       Owner:  macports-tickets@…                   
     Type:  defect              |      Status:  new                                  
 Priority:  Normal              |   Milestone:                                       
Component:  ports               |     Version:  2.0.0                                
 Keywords:  clang               |        Port:  ncurses                              
--------------------------------+-------------------------------------------
 The clang++ compiler does not compile nurses 1.9 because of a mistake
 between

 {{{
 NCursesUserForm (NCursesFormField* Fields[],…) and NCursesUserForm
 (NCursesFormField Fields[],
 }}}

 in cursesm.h and cursesf.h.

 Apparently, since this objects are never instantiated, GCC does not
 complain about the type mismatch, whereas clang is more correct.

 I join two patches that fix this inconsistency. Please update the portfile
 accordingly.

-- 
Ticket URL: <https://trac.macports.org/ticket/30312>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list