Home »
Public Forums »
archive »
IDL_MakeStruct causes arithmetic exeception
IDL_MakeStruct causes arithmetic exeception [message #61448] |
Wed, 16 July 2008 13:37 |
paharriso
Messages: 1 Registered: July 2008
|
Junior Member |
|
|
Hi,
I am having a problem with IDL 6.4 running on OSX 10.5.4 (intel) - I
am trying to use IDL_MakeStruct - and am getting an exeception
Thread [0] (Suspended: Signal 'EXC_ARITHMETIC' received. Description:
Arithmetic exception.)
5 IDL_IdentHash() 0x00c6de9c
4 IDL_MakeStructInternal() 0x00d29132
3 IDL_MakeStruct() 0x00d2934d
2 IDLStruct::makeIDLVar() /Users/pharriso/Work/ag/src/desktop/capi/
idl/IDLStruct.cpp:82 0x00007ee5
1 main() /Users/pharriso/Work/ag/src/desktop/capi/idl/main.cpp:30
0x00001f31
this was occuring in my own code, so I substituted exactly the code
from the structures page of the EDG and I get an identical exception -
this makes me think that there must be some sort of compiler version
problem (though I am using the standard apple distributed one)
% gcc -v
Using built-in specs.
Target: i686-apple-darwin9
Configured with: /var/tmp/gcc/gcc-5484~1/src/configure --disable-
checking -enable-werror --prefix=/usr --mandir=/share/man --enable-
languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/
$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/
lib --build=i686-apple-darwin9 --with-arch=apple --with-tune=generic --
host=i686-apple-darwin9 --target=i686-apple-darwin9
Thread model: posix
gcc version 4.0.1 (Apple Inc. build 5484)
or that there is some problem in the compiler options that I am using
(-arch i386 -m32 -O0 -g3 -Wall -c -fmessage-length=0 -dynamic)
Any help would be gratefully received.
I notice that http://groups.google.com/group/comp.lang.idl-pvwave/msg/736e 2fb9ce075870?hl=en
displays a similar problem, but the solution was not posted...
or that
|
|
|
Current Time: Wed Oct 08 20:01:31 PDT 2025
Total time taken to generate the page: 0.00525 seconds