Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lab03_sln Warnings #1

Open
Robadob opened this issue Jan 24, 2023 · 0 comments
Open

Lab03_sln Warnings #1

Robadob opened this issue Jan 24, 2023 · 0 comments

Comments

@Robadob
Copy link
Member

Robadob commented Jan 24, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant