Quantcast
Channel: LabWindows/CVI topics
Viewing all articles
Browse latest Browse all 5351

CVI 2013 clang.exe crashes at wrong "extern dllexport"

$
0
0

Another issue...

 

#include <utility.h>

extern DLLEXPORT int crashme;

int __stdcall WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance,
                       LPSTR lpszCmdLine, int nCmdShow)
{
  if (InitCVIRTE (hInstance, 0, 0) == 0)
    return -1;    /* out of memory */
  
  crashme = 1;
  
  return 0;
}

This makes clang.exe crash (using Windows 8, maybe it matters).


Viewing all articles
Browse latest Browse all 5351

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>