comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » DLM Woes
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: DLM Woes [message #74691 is a reply to message #74617] Fri, 28 January 2011 02:03 Go to previous messageGo to previous message
Mort Canty is currently offline  Mort Canty
Messages: 134
Registered: March 2003
Senior Member
Am 27.01.2011 23:50, schrieb Karl:


>
> Sort of looks like you are declaring a variable, s, in the middle of a
> code block. To enable this to compile, you have to compile the C code
> in C++ mode, or set a compiler option to allow this usage. Or, you
> can put
>
> culaStatus s;
>
> up above the comment line:
>
> // IDL output arrays
>
> and then just say:
>
> s = culaInitialize();
>
> Somehow you were compiling the code with different options for 32-bit
> and 64-bit.
>
> Either fix the code to make it legal C (I know some newer C standards
> allow this) or set your project file up to use the same compiler
> options for 32-bit and 64-bit. My guess is that the x64 Debug config
> does not have the "compile as C++" option set.

That sounds _very_ likely. Typical beginner's blooper. Thanks Karl.

-Mort
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: reading netcdf-4 ubyte datatype
Next Topic: Reading and saving a file

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 19:35:48 PDT 2025

Total time taken to generate the page: 0.23561 seconds