Comments (4)
Oh, so apple bumped the clang version without supporting the overflow builtins?
What is your __clang_minor__
version on this?
clang -dM -E -x c /dev/null | grep __clang_
I assumed 3.4 added this, as documented in http://llvm.org/releases/3.4/tools/clang/docs/LanguageExtensions.html#builtin-functions
but apparently apple has a different idea how to number their clang.
$ /usr/bin/clang -dM -E -x c /dev/null | grep __clang_
#define __clang__ 1
#define __clang_major__ 7
#define __clang_minor__ 0
#define __clang_patchlevel__ 0
#define __clang_version__ "7.0.0 (clang-700.0.72)"
from potion.
Now upgraded Xcode command line tools to 6.2, but the same compile errors. Didn't manage to upgrade Xcode, still 5.0.2. Seems you have Yosemite and Xcode 7.
$ clang -dM -E -x c /dev/null | grep __clang_
#define __clang__ 1
#define __clang_major__ 5
#define __clang_minor__ 0
#define __clang_patchlevel__ 0
#define __clang_version__ "5.0 (clang-500.2.79)"
Thx, your patch works, just throws warnings now:
CC src/unix/libuv_la-stream.lo
src/unix/stream.c:1054:19: warning: variable length array folded to constant array as an extension
[-Wpedantic]
char cmsg_space[CMSG_SPACE(UV__CMSG_FD_SIZE)];
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/socket.h:517:24: note: expanded from macro 'CMSG_SPACE'
#define CMSG_SPACE(l) (__DARWIN_ALIGN32(sizeof(struct cmsghdr)) + __DARWIN_ALIGN32(l))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/unix/stream.c:1054:19: note: cast which performs the conversions of a reinterpret_cast is not allowed in
a constant expression
/usr/include/sys/socket.h:517:25: note: expanded from macro 'CMSG_SPACE'
#define CMSG_SPACE(l) (__DARWIN_ALIGN32(sizeof(struct cmsghdr)) + __DARWIN_ALIGN32(l))
^
/usr/include/i386/_param.h:43:42: note: expanded from macro '__DARWIN_ALIGN32'
#define __DARWIN_ALIGN32(p) ((__darwin_size_t)((char *)(__darwin_size_t)(p) + __DARWIN_AL...
^
1 warning generated.
from potion.
I close this issue, hope you agree.
BTW: It's really, really fast.
from potion.
Great so 7 is the right number then. Have to fix cperl now also
from potion.
Related Issues (20)
- Problem with potion installation HOT 2
- Make fails HOT 4
- Migrate LGTM.com installation from OAuth to GitHub App
- Make fails HOT 1
- 1 out of 282 tests failed HOT 3
- Unable to build with the new -D_FORTIFY_SOURCE=2 HOT 3
- When building under vagrant/precise32, build succeeds but some tests, examples fail HOT 3
- test/tutorial/07_subclass.pn is failing on master HOT 4
- wrong x-1 parsing precedence, whitespace
- numeric compare in wrong integer context HOT 2
- change numcmp for eq and neq
- call on nil segfaults HOT 7
- call on nil methods silently fail HOT 3
- Installation issue HOT 4
- callset on nil segfaults HOT 2
- fatal: Not a git repository (or any of the parent directories): .git HOT 1
- More segmentation faults HOT 7
- Comparison between String and number does not work as expected HOT 1
- replace mersenne twister by pcg
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from potion.