Details
- 
    Bug 
- 
    Resolution: Fixed
- 
    Minor 
- 
        0.4.12-dev-1064-g09c4d0a https://git.reactos.org/?p=reactos.git;a=commit;h=09c4d0a74b2362e2c9d29ec87c54ecc3bddd5b79
Description
Reproduce (like AppVeyor build) by executing:
| configure.cmd VSSolution | 
| msbuild /verbosity:quiet /target:bootcd REACTOS.sln
 | 
 
–
It seems to affect .y and .l files only.
This is a regression: guilty commit is 0.4.12-dev-1064-g09c4d0a.
 See detailed history in later comment.
NB:
- gcc, msvc and msvc-x64 are unaffected/fixed.
- clang-cl has a related issue, again.
—
| cl : Command line warning D9025: overriding '/DREACTOS_SOURCE_DIR="c:/reactos-cov"' with '/UREACTOS_SOURCE_DIR' [C:\ros_build\dll\directx\wine\d3dcompiler_43\d3dcompiler_43.vcxproj] | 
| ... | 
| asmshader.y(318): error C2065: 'REACTOS_SOURCE_DIR' : undeclared identifier [C:\ros_build\dll\directx\wine\d3dcompiler_43\d3dcompiler_43.vcxproj] | 
| ... | 
| asmshader.l(469): error C2065: 'REACTOS_SOURCE_DIR' : undeclared identifier [C:\ros_build\dll\directx\wine\d3dcompiler_43\d3dcompiler_43.vcxproj] | 
| ... | 
| hlsl.y(85): error C2065: 'REACTOS_SOURCE_DIR' : undeclared identifier [C:\ros_build\dll\directx\wine\d3dcompiler_43\d3dcompiler_43.vcxproj] | 
| ... | 
| hlsl.l(225): error C2065: 'REACTOS_SOURCE_DIR' : undeclared identifier [C:\ros_build\dll\directx\wine\d3dcompiler_43\d3dcompiler_43.vcxproj] | 
| ... | 
| cl : Command line warning D9025: overriding '/DREACTOS_SOURCE_DIR="c:/reactos-cov"' with '/UREACTOS_SOURCE_DIR' [C:\ros_build\dll\win32\jscript\jscript.vcxproj] | 
| ... | 
| cc_parser.y(52): error C2065: 'REACTOS_SOURCE_DIR' : undeclared identifier [C:\ros_build\dll\win32\jscript\jscript.vcxproj] | 
| ... | 
| parser.y(789): error C2065: 'REACTOS_SOURCE_DIR' : undeclared identifier [C:\ros_build\dll\win32\jscript\jscript.vcxproj] | 
| ... | 
| cl : Command line warning D9025: overriding '/DREACTOS_SOURCE_DIR="c:/reactos-cov"' with '/UREACTOS_SOURCE_DIR' [C:\ros_build\dll\win32\msi\msi.vcxproj] | 
| ... | 
| sql.y(845): error C2065: 'REACTOS_SOURCE_DIR' : undeclared identifier [C:\ros_build\dll\win32\msi\msi.vcxproj] | 
| sql.y(1004): error C2065: 'REACTOS_SOURCE_DIR' : undeclared identifier [C:\ros_build\dll\win32\msi\msi.vcxproj] | 
| cond.y(494): error C2065: 'REACTOS_SOURCE_DIR' : undeclared identifier [C:\ros_build\dll\win32\msi\msi.vcxproj] | 
| ... | 
| cl : Command line warning D9025: overriding '/DREACTOS_SOURCE_DIR="c:/reactos-cov"' with '/UREACTOS_SOURCE_DIR' [C:\ros_build\dll\win32\msxml3\msxml3.vcxproj] | 
| ... | 
| xslpattern.y(47): error C2065: 'REACTOS_SOURCE_DIR' : undeclared identifier [C:\ros_build\dll\win32\msxml3\msxml3.vcxproj] | 
| ... | 
| xslpattern.l(116): error C2065: 'REACTOS_SOURCE_DIR' : undeclared identifier [C:\ros_build\dll\win32\msxml3\msxml3.vcxproj] | 
| ... | 
| cl : Command line warning D9025: overriding '/DREACTOS_SOURCE_DIR="c:/reactos-cov"' with '/UREACTOS_SOURCE_DIR' [C:\ros_build\dll\win32\vbscript\vbscript.vcxproj] | 
| ... | 
| parser.y(831): error C2065: 'REACTOS_SOURCE_DIR' : undeclared identifier [C:\ros_build\dll\win32\vbscript\vbscript.vcxproj] | 
| ... | 
| cl : Command line warning D9025: overriding '/DREACTOS_SOURCE_DIR="c:/reactos-cov"' with '/UREACTOS_SOURCE_DIR' [C:\ros_build\dll\win32\wbemprox\wbemprox.vcxproj] | 
| ... | 
| wql.y(99): error C2065: 'REACTOS_SOURCE_DIR' : undeclared identifier [C:\ros_build\dll\win32\wbemprox\wbemprox.vcxproj] | 
| ... | 
| cl : Command line warning D9025: overriding '/DREACTOS_SOURCE_DIR="c:/reactos-cov"' with '/UREACTOS_SOURCE_DIR' [C:\ros_build\base\applications\winhlp32\winhlp32.vcxproj] | 
| ... | 
| macro.lex.l(166): error C2065: 'REACTOS_SOURCE_DIR' : undeclared identifier [C:\ros_build\base\applications\winhlp32\winhlp32.vcxproj] | 
| ...
 | 
Attachments
Issue Links
- is duplicated by
- 
                    CORE-15961 Visual Studio cannot build ReactOS due to D9025 and C2065 errors -         
- Resolved
 
-         
- relates to
- 
                    CORE-17580 vbscript, jscript, msi, msxml3, wbemprox Bison parser warnings upon compilation of .y files -         
- Open
 
-         
- 
                    CORE-17423 Building with MSVC IDE is broken -         
- Resolved
 
-         
- 
                    CORE-17540 [VS2015 (v140)] Loads of "error C2983: '...': all declarations must have an identical __declspec(code_seg(...))" -         
- Resolved
 
-         
- 
                    CORE-18998 Regression, Since 0.4.10-dev-289-g79ad68d we do have ~350 additional compiler warnings 'warning: array subscript is above array bounds' for .y + .l files in rls-cfg -         
- Resolved
 
-         
- 
                    CORE-14839 Regression: paths to source files in putty + gcc logs are cut off -         
- Resolved
 
-