Opened 17 years ago

Last modified 10 years ago

#14590 new defect

liboss: compile errors in soundcard.h — at Initial Version

Reported by: madcap@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc:
Port: liboss

Description

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

Change History (0)

Note: See TracTickets for help on using tickets.