[MacPorts] #14590: liboss: compile errors in soundcard.h

MacPorts trac at macosforge.org
Sat Mar 8 15:12:51 PST 2008


#14590: liboss: compile errors in soundcard.h
----------------------------------+-----------------------------------------
 Reporter:  madcap at sacrilicio.us  |       Owner:  macports-tickets at lists.macosforge.org
     Type:  defect                |      Status:  new                                  
 Priority:  Normal                |   Milestone:                                       
Component:  ports                 |     Version:  1.6.0                                
 Keywords:  liboss                |  
----------------------------------+-----------------------------------------
 Beginning on line 341 of soundcard.h, several system functions are
 redefined, such as follows:

     #ifndef LIBOSS_IOCTL
     # define LIBOSS_IOCTL ioctl
     #endif

     ...

     static inline int LIBOSS_IOCTL (int x, unsigned long y,...)

 This causes compilation errors in code including that file, such as:

     /opt/local/include/liboss/soundcard.h:342: error: static declaration
 of ‘ioctl’ follows non-static declaration
     /usr/include/sys/ioctl.h:97: error: previous declaration of ‘ioctl’
 was here

-- 
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14590>
MacPorts </projects/macports>
Ports system for Mac OS


More information about the macports-tickets mailing list