New issue 95 by christophercyll: Problem building svn mac native code
http://code.google.com/p/bluecove/issues/detail?id=95
What steps will reproduce the problem?
1. I was building on a Snow Leopard Mac, but this may occur in other
configurations as well.
2. I just ran mvn.
What is the expected output? What do you see instead?
I see multiple errors of this kind:
[INFO]
/Users/toph/src/bluecove-svn2/bluecove-read-only/bluecove/src/main/c/intelbth/OSXStackSDPQuery.mm:356:
error: jump to case label
[INFO]
/Users/toph/src/bluecove-svn2/bluecove-read-only/bluecove/src/main/c/intelbth/OSXStackSDPQuery.mm:348:
error: crosses initialization of 'const __CFNumber* bNumber'
This appears to be this problem:
http://docs.freebsd.org/info/g++FAQ/g++FAQ.info.jump_crosses_initialization.html
I've attached a patch to enclose the relevant case bodies in new scopes
that fixes the problem on my machine.
What BlueCove version are you using (include build number for SNAPSHOT)? On
what operating system and jvm? Is this 64-bit or 32-bit OS and jvm?
This is r3026 from svn. Mac OS X 10.6.2 (Snow Leopard). It's a 64 bit
machine and the failure happens in the native build process.
Please provide any additional information below.
Please use "Attach a file" when uploading stack traces or other big files!
Attachments:
bluecove-jump-crosses-initialization.diff 2.2 KB
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings