forked from mondus/com4521
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
As of Visual Studio 2022(?) compilation now warns for private scope variables which are declared early.
Rebuild started...
1>------ Rebuild All started: Project: Lab03_Exercise02, Configuration: Debug Win32 ------
2>------ Rebuild All started: Project: Lab03_Exercise01, Configuration: Debug Win32 ------
1>exercise02_sln.c
1>U:\COMCUDA_labs\Lab03_Exercise02\exercise02_sln.c(40,14): warning C4101: 'c_i': unreferenced local variable
1>U:\COMCUDA_labs\Lab03_Exercise02\exercise02_sln.c(42,9): warning C4101: 'mu': unreferenced local variable
1>U:\COMCUDA_labs\Lab03_Exercise02\exercise02_sln.c(41,9): warning C4101: 'n_r': unreferenced local variable
1>U:\COMCUDA_labs\Lab03_Exercise02\exercise02_sln.c(41,14): warning C4101: 'n_i': unreferenced local variable
1>U:\COMCUDA_labs\Lab03_Exercise02\exercise02_sln.c(39,9): warning C4101: 'x': unreferenced local variable
1>U:\COMCUDA_labs\Lab03_Exercise02\exercise02_sln.c(41,24): warning C4101: 'o_i': unreferenced local variable
1>U:\COMCUDA_labs\Lab03_Exercise02\exercise02_sln.c(41,19): warning C4101: 'o_r': unreferenced local variable
1>U:\COMCUDA_labs\Lab03_Exercise02\exercise02_sln.c(40,9): warning C4101: 'c_r': unreferenced local variable
2>exercise01_sln.c
2>U:\COMCUDA_labs\Lab03_Exercise01\exercise01_sln.c(116,12): warning C4101: 'k': unreferenced local variable
2>U:\COMCUDA_labs\Lab03_Exercise01\exercise01_sln.c(116,9): warning C4101: 'j': unreferenced local variable
2>U:\COMCUDA_labs\Lab03_Exercise01\exercise01_sln.c(117,14): warning C4101: 'temp': unreferenced local variable
2>U:\COMCUDA_labs\Lab03_Exercise01\exercise01_sln.c(115): warning C4101: 'i': unreferenced local variable
1>Lab03_Exercise02.vcxproj -> U:\COMCUDA_labs\Debug\Lab03_Exercise02.exe
2>Lab03_Exercise01.vcxproj -> U:\COMCUDA_labs\Debug\Lab03_Exercise01.exe
1>Done building project "Lab03_Exercise02.vcxproj".
Not an immediate concern to fix, this feels more like a compiler bug.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels