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

Section "destinationdirs" and "sourcedisksfiles" are defined multiple times #90

Closed
ujos opened this issue Nov 22, 2018 · 5 comments
Closed
Labels

Comments

@ujos
Copy link

ujos commented Nov 22, 2018

While trying to build MSR driver from the master branch using DDK 10.0.17763 and Visual Studio 2017 15.9.2, I get following errors:

....\pcm\WinMSRDriver\Win7\MSR.inf(13-13): error 1209: Section [destinationdirs] is defined multiple times.
....\pcm\WinMSRDriver\Win7\MSR.inf(28-28): error 1209: Section [sourcedisksfiles] is defined multiple times.

Tried DDK 10.0.15063.0 also. Same issue.

@ujos
Copy link
Author

ujos commented Nov 22, 2018

Following are warnings from C compiler also:

...\pcm\winmsrdriver\win7\msrmain.c(67): warning C4101: 'domainStrL': unreferenced local variable
...\pcm\winmsrdriver\win7\msrmain.c(66): warning C4101: 'domainStr': unreferenced local variable
...\pcm\winmsrdriver\win7\msrmain.c(63): warning C4101: 'RegKey': unreferenced local variable
...\pcm\winmsrdriver\win7\msrmain.c(59): warning C4101: 'RegName': unreferenced local variable
...\pcm\winmsrdriver\win7\msrmain.c(68): warning C4189: 'i': local variable is initialized but not referenced
...\pcm\winmsrdriver\win7\msrmain.c(65): warning C4101: 'resultLength': unreferenced local variable
...\pcm\winmsrdriver\win7\msrmain.c(64): warning C4101: 'buffer': unreferenced local variable
...\pcm\winmsrdriver\win7\msrmain.c(62): warning C4101: 'RegKeyAttributes': unreferenced local variable
...\pcm\winmsrdriver\win7\msrmain.c(60): warning C4101: 'RegValueName': unreferenced local variable
...\pcm\winmsrdriver\win7\msrmain.c(133): warning C4100: 'DeviceObject': unreferenced formal parameter
...\pcm\winmsrdriver\win7\msrmain.c(141): warning C4101: 'currentGroupSize': unreferenced local variable

@opcm
Copy link
Contributor

opcm commented Nov 22, 2018

are you using MSR.vcxproj project file?

@ujos
Copy link
Author

ujos commented Nov 22, 2018

Yes

@ujos
Copy link
Author

ujos commented Nov 22, 2018

Warnings are treated as errors. So code does not compile also. JFYI

@opcm
Copy link
Contributor

opcm commented Nov 22, 2018

thanks for reporting. Should be addressed soon

rdementi added a commit that referenced this issue Nov 22, 2018
Resolves #90

Change-Id: Ief23dffd4bc507f67ec075c131a50c07ab4bdbe3
@opcm opcm added the bug label Nov 22, 2018
@opcm opcm closed this as completed in #91 Nov 22, 2018
opcm pushed a commit that referenced this issue Nov 22, 2018
Resolves #90

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

No branches or pull requests

2 participants