threadMigration.cpp error?

Hi,

Firstly: I did download the newest version of the SDK from the second posting in the announcements forum (the posting explicitly stating it fixed a problem with threadMigration). However, I get the following compilation errors eith gcc v4.1.3:

threadMigration.cpp:151: error: jump to label ‘Error’
threadMigration.cpp:111: error: from here
threadMigration.cpp:114: error: crosses initialization of ‘char* module_path’
threadMigration.cpp:151: error: jump to label ‘Error’
threadMigration.cpp:104: error: from here
threadMigration.cpp:114: error: crosses initialization of ‘char* module_path’
threadMigration.cpp: In function ‘void* ThreadProc(CUDAContext*)’:
threadMigration.cpp:173: warning: format ‘%08x’ expects type ‘unsigned int’, but argument 3 has type ‘CUctx_st’
threadMigration.cpp:196: warning: format ‘%08x’ expects type ‘unsigned int’, but argument 3 has type ‘CUctx_st
’
threadMigration.cpp:212: warning: format ‘%08x’ expects type ‘unsigned int’, but argument 3 has type ‘CUctx_st*’

I can’t imagine that I’m the first to run into these simple errors. Did I manage to still get the wrong version of the SDK?

EDIT: The fixes to make the code compile under gcc 4.1.3 are easy. I’m just wondering if I downloaded the wrong offering of the SDK. If not consider this a bug report for the SDK beta.

This is a known bug which should be resolved in the final release.