08-22-2015 02:47 AM
Hello,
when compiling with extended warning level I receive the following messages resulting from files provided with CVI:
"omp_cvi_internal.h"(71,26) warning: function declaration isn't a prototype.
"omp_cvi_internal.h"(72,26) warning: function declaration isn't a prototype.
"omp_cvi_internal.h"(94,35) warning: function declaration isn't a prototype.
"winnt.h"(8780,19) warning: cast from function call of type 'LONG64' (aka 'long long') to non-matching type 'PVOID' (aka 'void *')
"winnt.h"(8791,19) warning: cast from function call of type 'LONG64' (aka 'long long') to non-matching type 'PVOID' (aka 'void *')
"winnt.h"(8802,19) warning: cast from function call of type 'LONG64' (aka 'long long') to non-matching type 'PVOID' (aka 'void *')
I suggest to update the two include files accordingly 😉
Solved! Go to Solution.
08-24-2015 04:18 AM
Hi Wolfgang,
which CVI version do you use?
Best,
Melanie
08-24-2015 04:23 AM
Hi Melanie,
the new CVI2015 - sorry for not mentioning it in my post.
08-24-2015 07:13 AM - edited 08-24-2015 07:14 AM
Hello Wolfgang!
Thank you for providing feedback for LabWindows/CVI 2015.
I have filed Corrective Action Request #543006 to address this inconvenience!
Best regards!
- Johannes
08-24-2015 07:15 AM - edited 08-24-2015 07:15 AM
Thanks!
04-12-2016 01:25 PM
Hi All,
This issue has been addressed by the LabWindows/CVI 2015 f1 patch. Information on bug fixes in this patch can be found here: http://digital.ni.com/public.nsf/allkb/E2DAF5E18C4
Thanks,
04-12-2016 01:41 PM
Ah, that's good news, thanks
04-12-2016 11:44 PM
@D-Cubed wrote:Hi All,
This issue has been addressed by the LabWindows/CVI 2015 f1 patch. Information on bug fixes in this patch can be found here: http://digital.ni.com/public.nsf/allkb/E2DAF5E18C487A8886257F7D006353EA . The patch is available via NI Update Service or as a download linked from the KB.
Thanks,
I have to add, unfortunately, that this issue only refers to omp_cvi_internal.h, winnt.h is still waiting for a fix...
"winnt.h"(8780,19) warning: cast from function call of type 'LONG64' (aka 'long long') to non-matching type 'PVOID' (aka 'void *') [-Wbad-function-cast]
04-15-2016 12:42 AM
since the title of this message has been addressed the remaining part of my contribution is reposted here