04-14-2010 08:10 AM
Think I found a bug in LV for ARM.
With all run-time options on, to optimize the code, so it fits better in the flash.
when I use clusters that goes to a vi, the compiler says:
error: #167: argument of type "cl_50000 *" is incompatible with parameter of type "Cluster *"
the strange is, it works when there is no optimatization.
so I looked where the problem was. searched the code in KEIL uVision.
the compiler says that the cl_50000 * is incompatible with a Cluster * (but cl_50000 is a cluster)
by no optimatization, the function have a type-cast for the cl_50000 like
(void *) variable
but not by the run-time options.
so when I add myself the (void *), it works.
Hope I help someone with this.
I use windows XP with LabVIEW 2009 and LV for ARM 2009
Luminary micro EK-lm3s8962
04-14-2010 05:05 PM
Yes, this is a known issue and already fixed for the next version.
Please see the following thread:
http://forums.ni.com/ni/board/message?board.id=420&thread.id=1928