Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-15991

VSSolution: loads of "error C2065: 'REACTOS_SOURCE_DIR' : undeclared identifier"

    XMLWordPrintable

    Details

    • Module:
    • Guilty Commit:
      0.4.12-dev-1064-g09c4d0a

      Description

      It seems to affect .y and .l files only.

      This is a regression: root commit is 0.4.12-dev-1064-g09c4d0a.
      See detailed history in later comment.

      NB:
      gcc, msvc and msvc-x64 are unaffected/fixed.
      clang 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

        1. relfile.patch
          2 kB
        2. relfile.patch
          2 kB
        3. yFiles.png
          yFiles.png
          12 kB

          Issue Links

            Activity

              People

              • Assignee:
                hpoussin hpoussin
                Reporter:
                Serge Gautherie Serge Gautherie
              • Votes:
                4 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: