JuliaMath / JuliaMath/openlibm
a parameter list without types is only allowed in a function definition
- Dominant language
- C
- Stars
- 632
- Forks
- 163
- Avg merge
- 4m
- Merged PRs (30d)
- 1
Description
OS: Android 5.0
Architecture: armv7-a (32 bit)
Compiler: clang 4.0
Natively building openlibm on Android produces the following error:
```
➜ openlibm git:(master) make USECLANG=1
clang -fno-builtin -mhard-float -O3 -fPIC -march=armv7-a -std=c99 -Wall -I/data/data/com.termux/files/home/openlibm -I/data/data/com.termux/files/home/openlibm/include -I/data/data/com.termux/files/home/openlibm/arm -I/data/data/com.termux/files/home/openlibm/src -DASSEMBLER -D__BSD_VISIBLE -Wno-implicit-function-declaration -c src/s_cacos.c -o src/s_cacos.c.o
src/s_cacos.c:64:1: warning: type specifier missing, defaults to 'int'
[-Wimplicit-int]
__strong_alias(cacosl, cacos);
^
src/s_cacos.c:64:16: error: a parameter list without types is only allowed in a function definition
__strong_alias(cacosl, cacos);
^
1 warning and 1 error generated.
make: *** [Make.inc:141: src/s_cacos.c.o] Error 1
```
Any ideas?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.