eventmachine/eventmachine — Issue #286: Cannot compile 0.12.10 due to bad CFLAGS
Author: rtyler
Created: 2011-12-20 19:16:48+00:00
State: open

```
make
compiling em.cpp
cc1plus: warning: command line option ‘-Wdeclaration-after-statement’ is valid for C/ObjC but not for C++ [enabled by default]
cc1plus: error: unrecognized command line option ‘-Wshorten-64-to-32’
cc1plus: warning: command line option ‘-Wimplicit-function-declaration’ is valid for C/ObjC but not for C++ [enabled by default]
make: *** [em.o] Error 1
```

Reproduced this on gcc 4.6.2/amd64 and clang 3.0 (142912)/amd64 as well.