09-24-2009 07:36 AM
09-24-2009 08:17 AM
Can you confirm the lines of your code where you show fct()? The forward declaration does not match the later definition, which my compiler also rejects.
JR
09-24-2009 08:24 AM
09-24-2009 09:15 AM
Well you are using some pointers, but you don't appear to actually have any object declared to which your pointers can point. I needed to use a (int *) cast on the 123 to persuade the compiler to compile the code. You also seem to have a strange type character in your printf specification: %p. Is this also a typo?
JR
09-24-2009 09:35 AM
09-25-2009 02:31 AM
09-25-2009 09:00 AM
09-25-2009 09:20 AM
Hello -
I have also tried to reproduce the behavior you have mentioned, and have not been able to. I would be quick to doubt your claims, as passing pointers into functions is such a standard C operation that it seems we would have heard many more complaints if it were an issue. However, ever since you blew our minds with this screenshot - I have no problem believing you're seeing some strange things.
To answer your question, one way to force a rebuild is to select "Mark Project for Compilation" from the build menu, or to manually delete the cvibuild.<projectname> directory.
We would really like to be able to put a finger on the corruption that is apparently happening in your binary. If there was any chance we could run your project and see the behavior you've reported, we would really appreciate it. You could zip it up and put it on ftp://ftp.ni.com/incoming (behind our firewall, allowing only NI employees to access the files).
NickB
National Instruments
09-25-2009 09:39 AM
09-25-2009 09:44 AM
Sounds good Simon -
Just reply back to this post with the name of the file you've uploaded, and I'll take a look.
NickB
National Instruments