Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: expected parameter declarator, error: expected ')' #10

Open
ryandesign opened this issue Aug 18, 2021 · 0 comments
Open

error: expected parameter declarator, error: expected ')' #10

ryandesign opened this issue Aug 18, 2021 · 0 comments

Comments

@ryandesign
Copy link

I'm not able to build pcaudiolib 1.2 on OS X 10.8 or earlier. When using the stock clang compiler included with Xcode, the error is as in #9. Using a newer clang compiler fixes that problem on OS X 10.9 but on 10.8 and earlier different errors occur, starting with:

In file included from src/TPCircularBuffer/TPCircularBuffer.c:30:
src/TPCircularBuffer/TPCircularBuffer.h:219:67: error: In file included from src/TPCircularBuffer/TPCircularBuffer+AudioBufferList.c:30:
In file included from src/TPCircularBuffer/TPCircularBuffer+AudioBufferList.h:expected parameter declarator
37:
src/TPCircularBuffer/TPCircularBuffer.h:219:67: error: expected parameter declarator
static __inline__ __attribute__((always_inline)) __deprecated_msg("use TPCircularBufferSetAtomic(false) and TPCircularBufferConsume instead")
                                                                  ^
src/TPCircularBuffer/TPCircularBuffer.h:219:67: static __inline__ __attribute__((always_inline)) __deprecated_msg("use TPCircularBufferSetAtomic(false) and TPCircularBufferConsume instead")
                                                                  ^
error: expected ')'
src/TPCircularBuffer/TPCircularBuffer.h:219src/TPCircularBuffer/TPCircularBuffer.h:219:66: note: to match this '('
:67: error: expected ')'
static __inline__ __attribute__((always_inline)) __deprecated_msg("use TPCircularBufferSetAtomic(false) and TPCircularBufferConsume instead")
                                                                 ^src/TPCircularBuffer/TPCircularBuffer.h:219:66: note
: to match this '('
static __inline__ __attribute__((always_inline)) __deprecated_msg("use TPCircularBufferSetAtomic(false) and TPCircularBufferConsume instead")
                                                                 ^
src/TPCircularBuffer/TPCircularBuffer.h:219:50: src/TPCircularBuffer/TPCircularBuffer.h:219:50: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
static __inline__ __attribute__((always_inline)) __deprecated_msg("use TPCircularBufferSetAtomic(false) and TPCircularBufferConsume instead")
~~~~~~~~~~~~~~~~~                                ^static __inline__ __attribute__((always_inline)) __deprecated_msg("use TPCircularBufferSetAtomic(false) and TPCircularBufferConsume instead")
~~~~~~~~~~~~~~~~~                                ^

src/TPCircularBuffer/TPCircularBuffer.h:219:142: error: expected ';' after top level declarator
src/TPCircularBuffer/TPCircularBuffer.h:219:142: error: expected ';' after top level declarator
static __inline__ __attribute__((always_inline)) __deprecated_msg("use TPCircularBufferSetAtomic(false) and TPCircularBufferConsume instead")
                                                                                                                                             ^
                                                                                                                                             ;

A full build log is here:

https://build.macports.org/builders/ports-10.8_x86_64-builder/builds/58025/steps/install-port/logs/stdio

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant