pastebin - collaborative debugging tool
nrubsig.kpaste.net RSS


link C runtime statically
Posted by Anonymous on Sun 31st Dec 2023 02:45
raw | new post
view followups (newest first): link C runtime statically by Anonymous

  1. diff --git a/build.vc19/libtirpc/libtirpc.vcxproj b/build.vc19/libtirpc/libtirpc.vcxproj
  2. index 9b93508..c95a1a2 100644
  3. --- a/build.vc19/libtirpc/libtirpc.vcxproj
  4. +++ b/build.vc19/libtirpc/libtirpc.vcxproj
  5. @@ -84,15 +84,16 @@
  6.    <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
  7.      <ClCompile>
  8.        <PrecompiledHeader>
  9. -      </PrecompiledHeader>
  10. -      <WarningLevel>Level3</WarningLevel>
  11. -      <Optimization>Disabled</Optimization>
  12. -      <PreprocessorDefinitions>FD_SETSIZE=1024;INET6;NO_CB_4_KRB5P;PORTMAP;_WINSOCK_DEPRECATED_NO_WARNINGS;WIN32;UNICODE;_UNICODE;_DEBUG;_WINDOWS;_USRDLL;LIBTIRPC_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  13. -      <AdditionalIncludeDirectories>..\..\libtirpc\tirpc;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  14. -      <LanguageStandard_C>stdc17</LanguageStandard_C>
  15. -    </ClCompile>
  16. -    <Link>
  17. -      <SubSystem>Windows</SubSystem>
  18. +      </PrecompiledHeader>
  19. +      <WarningLevel>Level3</WarningLevel>
  20. +      <Optimization>Disabled</Optimization>
  21. +      <PreprocessorDefinitions>FD_SETSIZE=1024;INET6;NO_CB_4_KRB5P;PORTMAP;_WINSOCK_DEPRECATED_NO_WARNINGS;WIN32;UNICODE;_UNICODE;_DEBUG;_WINDOWS;_USRDLL;LIBTIRPC_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  22. +      <AdditionalIncludeDirectories>..\..\libtirpc\tirpc;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  23. +      <LanguageStandard_C>stdc17</LanguageStandard_C>
  24. +      <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
  25. +    </ClCompile>
  26. +    <Link>
  27. +      <SubSystem>Windows</SubSystem>
  28.        <GenerateDebugInformation>true</GenerateDebugInformation>
  29.        <AdditionalDependencies>ws2_32.lib;secur32.lib;%(AdditionalDependencies)</AdditionalDependencies>
  30.        <ModuleDefinitionFile>..\..\libtirpc\libtirpc\libtirpc.def</ModuleDefinitionFile>
  31. @@ -101,15 +102,16 @@
  32.    <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
  33.      <ClCompile>
  34.        <PrecompiledHeader>
  35. -      </PrecompiledHeader>
  36. -      <WarningLevel>Level3</WarningLevel>
  37. -      <Optimization>Disabled</Optimization>
  38. -      <PreprocessorDefinitions>FD_SETSIZE=1024;INET6;NO_CB_4_KRB5P;PORTMAP;_WINSOCK_DEPRECATED_NO_WARNINGS;_DEBUG;_WINDOWS;_USRDLL;LIBTIRPC_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  39. -      <AdditionalIncludeDirectories>..\..\libtirpc\tirpc;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  40. -      <LanguageStandard_C>stdc17</LanguageStandard_C>
  41. -    </ClCompile>
  42. -    <Link>
  43. -      <SubSystem>Windows</SubSystem>
  44. +      </PrecompiledHeader>
  45. +      <WarningLevel>Level3</WarningLevel>
  46. +      <Optimization>Disabled</Optimization>
  47. +      <PreprocessorDefinitions>FD_SETSIZE=1024;INET6;NO_CB_4_KRB5P;PORTMAP;_WINSOCK_DEPRECATED_NO_WARNINGS;_DEBUG;_WINDOWS;_USRDLL;LIBTIRPC_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  48. +      <AdditionalIncludeDirectories>..\..\libtirpc\tirpc;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  49. +      <LanguageStandard_C>stdc17</LanguageStandard_C>
  50. +      <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
  51. +    </ClCompile>
  52. +    <Link>
  53. +      <SubSystem>Windows</SubSystem>
  54.        <GenerateDebugInformation>true</GenerateDebugInformation>
  55.        <AdditionalDependencies>ws2_32.lib;secur32.lib;%(AdditionalDependencies)</AdditionalDependencies>
  56.        <ModuleDefinitionFile>..\..\libtirpc\libtirpc\libtirpc.def</ModuleDefinitionFile>
  57. @@ -120,15 +122,16 @@
  58.        <WarningLevel>Level3</WarningLevel>
  59.        <PrecompiledHeader>
  60.        </PrecompiledHeader>
  61. -      <Optimization>MaxSpeed</Optimization>
  62. -      <FunctionLevelLinking>true</FunctionLevelLinking>
  63. -      <IntrinsicFunctions>true</IntrinsicFunctions>
  64. -      <PreprocessorDefinitions>FD_SETSIZE=1024;INET6;NO_CB_4_KRB5P;PORTMAP;_WINSOCK_DEPRECATED_NO_WARNINGS;WIN32;UNICODE;_UNICODE;NDEBUG;_WINDOWS;_USRDLL;LIBTIRPC_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  65. -      <AdditionalIncludeDirectories>..\..\libtirpc\tirpc;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  66. -      <LanguageStandard_C>stdc17</LanguageStandard_C>
  67. -    </ClCompile>
  68. -    <Link>
  69. -      <SubSystem>Windows</SubSystem>
  70. +      <Optimization>MaxSpeed</Optimization>
  71. +      <FunctionLevelLinking>true</FunctionLevelLinking>
  72. +      <IntrinsicFunctions>true</IntrinsicFunctions>
  73. +      <PreprocessorDefinitions>FD_SETSIZE=1024;INET6;NO_CB_4_KRB5P;PORTMAP;_WINSOCK_DEPRECATED_NO_WARNINGS;WIN32;UNICODE;_UNICODE;NDEBUG;_WINDOWS;_USRDLL;LIBTIRPC_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  74. +      <AdditionalIncludeDirectories>..\..\libtirpc\tirpc;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  75. +      <LanguageStandard_C>stdc17</LanguageStandard_C>
  76. +      <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
  77. +    </ClCompile>
  78. +    <Link>
  79. +      <SubSystem>Windows</SubSystem>
  80.        <GenerateDebugInformation>true</GenerateDebugInformation>
  81.        <EnableCOMDATFolding>true</EnableCOMDATFolding>
  82.        <OptimizeReferences>true</OptimizeReferences>
  83. @@ -141,15 +144,16 @@
  84.        <WarningLevel>Level3</WarningLevel>
  85.        <PrecompiledHeader>
  86.        </PrecompiledHeader>
  87. -      <Optimization>MaxSpeed</Optimization>
  88. -      <FunctionLevelLinking>true</FunctionLevelLinking>
  89. -      <IntrinsicFunctions>true</IntrinsicFunctions>
  90. -      <PreprocessorDefinitions>FD_SETSIZE=1024;INET6;NO_CB_4_KRB5P;PORTMAP;_WINSOCK_DEPRECATED_NO_WARNINGS;NDEBUG;_WINDOWS;_USRDLL;LIBTIRPC_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  91. -      <AdditionalIncludeDirectories>..\..\libtirpc\tirpc;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  92. -      <LanguageStandard_C>stdc17</LanguageStandard_C>
  93. -    </ClCompile>
  94. -    <Link>
  95. -      <SubSystem>Windows</SubSystem>
  96. +      <Optimization>MaxSpeed</Optimization>
  97. +      <FunctionLevelLinking>true</FunctionLevelLinking>
  98. +      <IntrinsicFunctions>true</IntrinsicFunctions>
  99. +      <PreprocessorDefinitions>FD_SETSIZE=1024;INET6;NO_CB_4_KRB5P;PORTMAP;_WINSOCK_DEPRECATED_NO_WARNINGS;NDEBUG;_WINDOWS;_USRDLL;LIBTIRPC_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  100. +      <AdditionalIncludeDirectories>..\..\libtirpc\tirpc;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  101. +      <LanguageStandard_C>stdc17</LanguageStandard_C>
  102. +      <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
  103. +    </ClCompile>
  104. +    <Link>
  105. +      <SubSystem>Windows</SubSystem>
  106.        <GenerateDebugInformation>true</GenerateDebugInformation>
  107.        <EnableCOMDATFolding>true</EnableCOMDATFolding>
  108.        <OptimizeReferences>true</OptimizeReferences>
  109. diff --git a/build.vc19/nfs41_np/nfs41_np.vcxproj b/build.vc19/nfs41_np/nfs41_np.vcxproj
  110. index abe6578..ae87b0b 100644
  111. --- a/build.vc19/nfs41_np/nfs41_np.vcxproj
  112. +++ b/build.vc19/nfs41_np/nfs41_np.vcxproj
  113. @@ -84,15 +84,16 @@
  114.    <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
  115.      <ClCompile>
  116.        <PrecompiledHeader>
  117. -      </PrecompiledHeader>
  118. -      <WarningLevel>Level3</WarningLevel>
  119. -      <Optimization>Disabled</Optimization>
  120. -      <PreprocessorDefinitions>WIN32;UNICODE;_UNICODE;_DEBUG;_WINDOWS;_USRDLL;NFS41_NP_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  121. -      <AdditionalIncludeDirectories>..\..\sys;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  122. -      <LanguageStandard_C>stdc17</LanguageStandard_C>
  123. -    </ClCompile>
  124. -    <Link>
  125. -      <SubSystem>Windows</SubSystem>
  126. +      </PrecompiledHeader>
  127. +      <WarningLevel>Level3</WarningLevel>
  128. +      <Optimization>Disabled</Optimization>
  129. +      <PreprocessorDefinitions>WIN32;UNICODE;_UNICODE;_DEBUG;_WINDOWS;_USRDLL;NFS41_NP_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  130. +      <AdditionalIncludeDirectories>..\..\sys;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  131. +      <LanguageStandard_C>stdc17</LanguageStandard_C>
  132. +      <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
  133. +    </ClCompile>
  134. +    <Link>
  135. +      <SubSystem>Windows</SubSystem>
  136.        <GenerateDebugInformation>true</GenerateDebugInformation>
  137.        <ModuleDefinitionFile>..\..\dll\nfs41_np.def</ModuleDefinitionFile>
  138.      </Link>
  139. @@ -102,13 +103,14 @@
  140.        <PrecompiledHeader>
  141.        </PrecompiledHeader>
  142.        <WarningLevel>Level3</WarningLevel>
  143. -      <Optimization>Disabled</Optimization>
  144. -      <PreprocessorDefinitions>_DEBUG;_WINDOWS;_USRDLL;NFS41_NP_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  145. -      <AdditionalIncludeDirectories>..\..\sys;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  146. -      <LanguageStandard_C>stdc17</LanguageStandard_C>
  147. -    </ClCompile>
  148. -    <Link>
  149. -      <SubSystem>Windows</SubSystem>
  150. +      <Optimization>Disabled</Optimization>
  151. +      <PreprocessorDefinitions>_DEBUG;_WINDOWS;_USRDLL;NFS41_NP_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  152. +      <AdditionalIncludeDirectories>..\..\sys;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  153. +      <LanguageStandard_C>stdc17</LanguageStandard_C>
  154. +      <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
  155. +    </ClCompile>
  156. +    <Link>
  157. +      <SubSystem>Windows</SubSystem>
  158.        <GenerateDebugInformation>true</GenerateDebugInformation>
  159.        <ModuleDefinitionFile>..\..\dll\nfs41_np.def</ModuleDefinitionFile>
  160.      </Link>
  161. @@ -118,15 +120,16 @@
  162.        <WarningLevel>Level3</WarningLevel>
  163.        <PrecompiledHeader>
  164.        </PrecompiledHeader>
  165. -      <Optimization>MaxSpeed</Optimization>
  166. -      <FunctionLevelLinking>true</FunctionLevelLinking>
  167. -      <IntrinsicFunctions>true</IntrinsicFunctions>
  168. -      <PreprocessorDefinitions>WIN32;UNICODE;_UNICODE;NDEBUG;_WINDOWS;_USRDLL;NFS41_NP_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  169. -      <AdditionalIncludeDirectories>..\..\sys;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  170. -      <LanguageStandard_C>stdc17</LanguageStandard_C>
  171. -    </ClCompile>
  172. -    <Link>
  173. -      <SubSystem>Windows</SubSystem>
  174. +      <Optimization>MaxSpeed</Optimization>
  175. +      <FunctionLevelLinking>true</FunctionLevelLinking>
  176. +      <IntrinsicFunctions>true</IntrinsicFunctions>
  177. +      <PreprocessorDefinitions>WIN32;UNICODE;_UNICODE;NDEBUG;_WINDOWS;_USRDLL;NFS41_NP_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  178. +      <AdditionalIncludeDirectories>..\..\sys;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  179. +      <LanguageStandard_C>stdc17</LanguageStandard_C>
  180. +      <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
  181. +    </ClCompile>
  182. +    <Link>
  183. +      <SubSystem>Windows</SubSystem>
  184.        <GenerateDebugInformation>true</GenerateDebugInformation>
  185.        <EnableCOMDATFolding>true</EnableCOMDATFolding>
  186.        <OptimizeReferences>true</OptimizeReferences>
  187. @@ -140,13 +143,14 @@
  188.        </PrecompiledHeader>
  189.        <Optimization>MaxSpeed</Optimization>
  190.        <FunctionLevelLinking>true</FunctionLevelLinking>
  191. -      <IntrinsicFunctions>true</IntrinsicFunctions>
  192. -      <PreprocessorDefinitions>NDEBUG;_WINDOWS;_USRDLL;NFS41_NP_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  193. -      <AdditionalIncludeDirectories>..\..\sys;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  194. -      <LanguageStandard_C>stdc17</LanguageStandard_C>
  195. -    </ClCompile>
  196. -    <Link>
  197. -      <SubSystem>Windows</SubSystem>
  198. +      <IntrinsicFunctions>true</IntrinsicFunctions>
  199. +      <PreprocessorDefinitions>NDEBUG;_WINDOWS;_USRDLL;NFS41_NP_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  200. +      <AdditionalIncludeDirectories>..\..\sys;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  201. +      <LanguageStandard_C>stdc17</LanguageStandard_C>
  202. +      <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
  203. +    </ClCompile>
  204. +    <Link>
  205. +      <SubSystem>Windows</SubSystem>
  206.        <GenerateDebugInformation>true</GenerateDebugInformation>
  207.        <EnableCOMDATFolding>true</EnableCOMDATFolding>
  208.        <OptimizeReferences>true</OptimizeReferences>
  209. diff --git a/build.vc19/nfs_install/nfs_install.vcxproj b/build.vc19/nfs_install/nfs_install.vcxproj
  210. index d3cadf9..8a74235 100644
  211. --- a/build.vc19/nfs_install/nfs_install.vcxproj
  212. +++ b/build.vc19/nfs_install/nfs_install.vcxproj
  213. @@ -84,15 +84,16 @@
  214.    <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
  215.      <ClCompile>
  216.        <PrecompiledHeader>
  217. -      </PrecompiledHeader>
  218. -      <WarningLevel>Level3</WarningLevel>
  219. -      <Optimization>Disabled</Optimization>
  220. -      <PreprocessorDefinitions>WIN32;UNICODE;_UNICODE;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  221. -      <AdditionalIncludeDirectories>..\..\sys;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  222. -      <LanguageStandard_C>stdc17</LanguageStandard_C>
  223. -    </ClCompile>
  224. -    <Link>
  225. -      <SubSystem>Console</SubSystem>
  226. +      </PrecompiledHeader>
  227. +      <WarningLevel>Level3</WarningLevel>
  228. +      <Optimization>Disabled</Optimization>
  229. +      <PreprocessorDefinitions>WIN32;UNICODE;_UNICODE;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  230. +      <AdditionalIncludeDirectories>..\..\sys;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  231. +      <LanguageStandard_C>stdc17</LanguageStandard_C>
  232. +      <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
  233. +    </ClCompile>
  234. +    <Link>
  235. +      <SubSystem>Console</SubSystem>
  236.        <GenerateDebugInformation>true</GenerateDebugInformation>
  237.      </Link>
  238.    </ItemDefinitionGroup>
  239. @@ -101,13 +102,14 @@
  240.        <PrecompiledHeader>
  241.        </PrecompiledHeader>
  242.        <WarningLevel>Level3</WarningLevel>
  243. -      <Optimization>Disabled</Optimization>
  244. -      <PreprocessorDefinitions>_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  245. -      <AdditionalIncludeDirectories>..\..\sys;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  246. -      <LanguageStandard_C>stdc17</LanguageStandard_C>
  247. -    </ClCompile>
  248. -    <Link>
  249. -      <SubSystem>Console</SubSystem>
  250. +      <Optimization>Disabled</Optimization>
  251. +      <PreprocessorDefinitions>_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  252. +      <AdditionalIncludeDirectories>..\..\sys;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  253. +      <LanguageStandard_C>stdc17</LanguageStandard_C>
  254. +      <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
  255. +    </ClCompile>
  256. +    <Link>
  257. +      <SubSystem>Console</SubSystem>
  258.        <GenerateDebugInformation>true</GenerateDebugInformation>
  259.      </Link>
  260.    </ItemDefinitionGroup>
  261. @@ -116,15 +118,16 @@
  262.        <WarningLevel>Level3</WarningLevel>
  263.        <PrecompiledHeader>
  264.        </PrecompiledHeader>
  265. -      <Optimization>MaxSpeed</Optimization>
  266. -      <FunctionLevelLinking>true</FunctionLevelLinking>
  267. -      <IntrinsicFunctions>true</IntrinsicFunctions>
  268. -      <PreprocessorDefinitions>WIN32;UNICODE;_UNICODE;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  269. -      <AdditionalIncludeDirectories>..\..\sys;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  270. -      <LanguageStandard_C>stdc17</LanguageStandard_C>
  271. -    </ClCompile>
  272. -    <Link>
  273. -      <SubSystem>Console</SubSystem>
  274. +      <Optimization>MaxSpeed</Optimization>
  275. +      <FunctionLevelLinking>true</FunctionLevelLinking>
  276. +      <IntrinsicFunctions>true</IntrinsicFunctions>
  277. +      <PreprocessorDefinitions>WIN32;UNICODE;_UNICODE;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  278. +      <AdditionalIncludeDirectories>..\..\sys;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  279. +      <LanguageStandard_C>stdc17</LanguageStandard_C>
  280. +      <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
  281. +    </ClCompile>
  282. +    <Link>
  283. +      <SubSystem>Console</SubSystem>
  284.        <GenerateDebugInformation>true</GenerateDebugInformation>
  285.        <EnableCOMDATFolding>true</EnableCOMDATFolding>
  286.        <OptimizeReferences>true</OptimizeReferences>
  287. @@ -137,13 +140,14 @@
  288.        </PrecompiledHeader>
  289.        <Optimization>MaxSpeed</Optimization>
  290.        <FunctionLevelLinking>true</FunctionLevelLinking>
  291. -      <IntrinsicFunctions>true</IntrinsicFunctions>
  292. -      <PreprocessorDefinitions>NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  293. -      <AdditionalIncludeDirectories>..\..\sys;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  294. -      <LanguageStandard_C>stdc17</LanguageStandard_C>
  295. -    </ClCompile>
  296. -    <Link>
  297. -      <SubSystem>Console</SubSystem>
  298. +      <IntrinsicFunctions>true</IntrinsicFunctions>
  299. +      <PreprocessorDefinitions>NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  300. +      <AdditionalIncludeDirectories>..\..\sys;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  301. +      <LanguageStandard_C>stdc17</LanguageStandard_C>
  302. +      <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
  303. +    </ClCompile>
  304. +    <Link>
  305. +      <SubSystem>Console</SubSystem>
  306.        <GenerateDebugInformation>true</GenerateDebugInformation>
  307.        <EnableCOMDATFolding>true</EnableCOMDATFolding>
  308.        <OptimizeReferences>true</OptimizeReferences>
  309. diff --git a/build.vc19/nfs_mount/nfs_mount.vcxproj b/build.vc19/nfs_mount/nfs_mount.vcxproj
  310. index b759d3e..95f8684 100644
  311. --- a/build.vc19/nfs_mount/nfs_mount.vcxproj
  312. +++ b/build.vc19/nfs_mount/nfs_mount.vcxproj
  313. @@ -84,15 +84,16 @@
  314.    <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
  315.      <ClCompile>
  316.        <PrecompiledHeader>
  317. -      </PrecompiledHeader>
  318. -      <WarningLevel>Level3</WarningLevel>
  319. -      <Optimization>Disabled</Optimization>
  320. -      <PreprocessorDefinitions>WIN32;UNICODE;_UNICODE;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  321. -      <AdditionalIncludeDirectories>..\..\sys;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  322. -      <LanguageStandard_C>stdc17</LanguageStandard_C>
  323. -    </ClCompile>
  324. -    <Link>
  325. -      <SubSystem>Console</SubSystem>
  326. +      </PrecompiledHeader>
  327. +      <WarningLevel>Level3</WarningLevel>
  328. +      <Optimization>Disabled</Optimization>
  329. +      <PreprocessorDefinitions>WIN32;UNICODE;_UNICODE;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  330. +      <AdditionalIncludeDirectories>..\..\sys;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  331. +      <LanguageStandard_C>stdc17</LanguageStandard_C>
  332. +      <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
  333. +    </ClCompile>
  334. +    <Link>
  335. +      <SubSystem>Console</SubSystem>
  336.        <GenerateDebugInformation>true</GenerateDebugInformation>
  337.        <AdditionalDependencies>mpr.lib;%(AdditionalDependencies)</AdditionalDependencies>
  338.      </Link>
  339. @@ -102,13 +103,14 @@
  340.        <PrecompiledHeader>
  341.        </PrecompiledHeader>
  342.        <WarningLevel>Level3</WarningLevel>
  343. -      <Optimization>Disabled</Optimization>
  344. -      <PreprocessorDefinitions>_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  345. -      <AdditionalIncludeDirectories>..\..\sys;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  346. -      <LanguageStandard_C>stdc17</LanguageStandard_C>
  347. -    </ClCompile>
  348. -    <Link>
  349. -      <SubSystem>Console</SubSystem>
  350. +      <Optimization>Disabled</Optimization>
  351. +      <PreprocessorDefinitions>_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  352. +      <AdditionalIncludeDirectories>..\..\sys;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  353. +      <LanguageStandard_C>stdc17</LanguageStandard_C>
  354. +      <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
  355. +    </ClCompile>
  356. +    <Link>
  357. +      <SubSystem>Console</SubSystem>
  358.        <GenerateDebugInformation>true</GenerateDebugInformation>
  359.        <AdditionalDependencies>mpr.lib;%(AdditionalDependencies)</AdditionalDependencies>
  360.      </Link>
  361. @@ -118,15 +120,16 @@
  362.        <WarningLevel>Level3</WarningLevel>
  363.        <PrecompiledHeader>
  364.        </PrecompiledHeader>
  365. -      <Optimization>MaxSpeed</Optimization>
  366. -      <FunctionLevelLinking>true</FunctionLevelLinking>
  367. -      <IntrinsicFunctions>true</IntrinsicFunctions>
  368. -      <PreprocessorDefinitions>WIN32;UNICODE;_UNICODE;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  369. -      <AdditionalIncludeDirectories>..\..\sys;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  370. -      <LanguageStandard_C>stdc17</LanguageStandard_C>
  371. -    </ClCompile>
  372. -    <Link>
  373. -      <SubSystem>Console</SubSystem>
  374. +      <Optimization>MaxSpeed</Optimization>
  375. +      <FunctionLevelLinking>true</FunctionLevelLinking>
  376. +      <IntrinsicFunctions>true</IntrinsicFunctions>
  377. +      <PreprocessorDefinitions>WIN32;UNICODE;_UNICODE;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  378. +      <AdditionalIncludeDirectories>..\..\sys;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  379. +      <LanguageStandard_C>stdc17</LanguageStandard_C>
  380. +      <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
  381. +    </ClCompile>
  382. +    <Link>
  383. +      <SubSystem>Console</SubSystem>
  384.        <GenerateDebugInformation>true</GenerateDebugInformation>
  385.        <EnableCOMDATFolding>true</EnableCOMDATFolding>
  386.        <OptimizeReferences>true</OptimizeReferences>
  387. @@ -140,13 +143,14 @@
  388.        </PrecompiledHeader>
  389.        <Optimization>MaxSpeed</Optimization>
  390.        <FunctionLevelLinking>true</FunctionLevelLinking>
  391. -      <IntrinsicFunctions>true</IntrinsicFunctions>
  392. -      <PreprocessorDefinitions>NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  393. -      <AdditionalIncludeDirectories>..\..\sys;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  394. -      <LanguageStandard_C>stdc17</LanguageStandard_C>
  395. -    </ClCompile>
  396. -    <Link>
  397. -      <SubSystem>Console</SubSystem>
  398. +      <IntrinsicFunctions>true</IntrinsicFunctions>
  399. +      <PreprocessorDefinitions>NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  400. +      <AdditionalIncludeDirectories>..\..\sys;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  401. +      <LanguageStandard_C>stdc17</LanguageStandard_C>
  402. +      <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
  403. +    </ClCompile>
  404. +    <Link>
  405. +      <SubSystem>Console</SubSystem>
  406.        <GenerateDebugInformation>true</GenerateDebugInformation>
  407.        <EnableCOMDATFolding>true</EnableCOMDATFolding>
  408.        <OptimizeReferences>true</OptimizeReferences>
  409. diff --git a/build.vc19/nfsd/nfsd.vcxproj b/build.vc19/nfsd/nfsd.vcxproj
  410. index 877c83b..905fbcc 100644
  411. --- a/build.vc19/nfsd/nfsd.vcxproj
  412. +++ b/build.vc19/nfsd/nfsd.vcxproj
  413. @@ -84,15 +84,16 @@
  414.    <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
  415.      <ClCompile>
  416.        <PrecompiledHeader>
  417. -      </PrecompiledHeader>
  418. -      <WarningLevel>Level3</WarningLevel>
  419. -      <Optimization>Disabled</Optimization>
  420. -      <PreprocessorDefinitions>WIN32_LEAN_AND_MEAN;FD_SETSIZE=1024;INET6;NO_CB_4_KRB5P;STANDALONE_NFSD;_CRT_SECURE_NO_WARNINGS;_WINSOCK_DEPRECATED_NO_WARNINGS;WIN32;UNICODE;_UNICODE;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  421. -      <AdditionalIncludeDirectories>..\..\libtirpc\tirpc;..\..\sys;..\..\dll;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  422. -      <LanguageStandard_C>stdc17</LanguageStandard_C>
  423. -    </ClCompile>
  424. -    <Link>
  425. -      <SubSystem>Console</SubSystem>
  426. +      </PrecompiledHeader>
  427. +      <WarningLevel>Level3</WarningLevel>
  428. +      <Optimization>Disabled</Optimization>
  429. +      <PreprocessorDefinitions>WIN32_LEAN_AND_MEAN;FD_SETSIZE=1024;INET6;NO_CB_4_KRB5P;STANDALONE_NFSD;_CRT_SECURE_NO_WARNINGS;_WINSOCK_DEPRECATED_NO_WARNINGS;WIN32;UNICODE;_UNICODE;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  430. +      <AdditionalIncludeDirectories>..\..\libtirpc\tirpc;..\..\sys;..\..\dll;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  431. +      <LanguageStandard_C>stdc17</LanguageStandard_C>
  432. +      <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
  433. +    </ClCompile>
  434. +    <Link>
  435. +      <SubSystem>Console</SubSystem>
  436.        <GenerateDebugInformation>true</GenerateDebugInformation>
  437.        <AdditionalDependencies>iphlpapi.lib;ws2_32.lib;wldap32.lib;..\$(Configuration)\libtirpc.lib;%(AdditionalDependencies)</AdditionalDependencies>
  438.      </Link>
  439. @@ -100,15 +101,16 @@
  440.    <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
  441.      <ClCompile>
  442.        <PrecompiledHeader>
  443. -      </PrecompiledHeader>
  444. -      <WarningLevel>Level3</WarningLevel>
  445. -      <Optimization>Disabled</Optimization>
  446. -      <PreprocessorDefinitions>WIN32_LEAN_AND_MEAN;FD_SETSIZE=1024;INET6;NO_CB_4_KRB5P;STANDALONE_NFSD;_CRT_SECURE_NO_WARNINGS;_WINSOCK_DEPRECATED_NO_WARNINGS;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  447. -      <AdditionalIncludeDirectories>..\..\libtirpc\tirpc;..\..\sys;..\..\dll;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  448. -      <LanguageStandard_C>stdc17</LanguageStandard_C>
  449. -    </ClCompile>
  450. -    <Link>
  451. -      <SubSystem>Console</SubSystem>
  452. +      </PrecompiledHeader>
  453. +      <WarningLevel>Level3</WarningLevel>
  454. +      <Optimization>Disabled</Optimization>
  455. +      <PreprocessorDefinitions>WIN32_LEAN_AND_MEAN;FD_SETSIZE=1024;INET6;NO_CB_4_KRB5P;STANDALONE_NFSD;_CRT_SECURE_NO_WARNINGS;_WINSOCK_DEPRECATED_NO_WARNINGS;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  456. +      <AdditionalIncludeDirectories>..\..\libtirpc\tirpc;..\..\sys;..\..\dll;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  457. +      <LanguageStandard_C>stdc17</LanguageStandard_C>
  458. +      <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
  459. +    </ClCompile>
  460. +    <Link>
  461. +      <SubSystem>Console</SubSystem>
  462.        <GenerateDebugInformation>true</GenerateDebugInformation>
  463.        <AdditionalDependencies>iphlpapi.lib;ws2_32.lib;wldap32.lib;..\$(Platform)\$(Configuration)\libtirpc.lib;%(AdditionalDependencies)</AdditionalDependencies>
  464.      </Link>
  465. @@ -118,15 +120,16 @@
  466.        <WarningLevel>Level3</WarningLevel>
  467.        <PrecompiledHeader>
  468.        </PrecompiledHeader>
  469. -      <Optimization>MaxSpeed</Optimization>
  470. -      <FunctionLevelLinking>true</FunctionLevelLinking>
  471. -      <IntrinsicFunctions>true</IntrinsicFunctions>
  472. -      <PreprocessorDefinitions>WIN32_LEAN_AND_MEAN;FD_SETSIZE=1024;INET6;NO_CB_4_KRB5P;_CRT_SECURE_NO_WARNINGS;_WINSOCK_DEPRECATED_NO_WARNINGS;WIN32;UNICODE;_UNICODE;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  473. -      <AdditionalIncludeDirectories>..\..\libtirpc\tirpc;..\..\sys;..\..\dll;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  474. -      <LanguageStandard_C>stdc17</LanguageStandard_C>
  475. -    </ClCompile>
  476. -    <Link>
  477. -      <SubSystem>Console</SubSystem>
  478. +      <Optimization>MaxSpeed</Optimization>
  479. +      <FunctionLevelLinking>true</FunctionLevelLinking>
  480. +      <IntrinsicFunctions>true</IntrinsicFunctions>
  481. +      <PreprocessorDefinitions>WIN32_LEAN_AND_MEAN;FD_SETSIZE=1024;INET6;NO_CB_4_KRB5P;_CRT_SECURE_NO_WARNINGS;_WINSOCK_DEPRECATED_NO_WARNINGS;WIN32;UNICODE;_UNICODE;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  482. +      <AdditionalIncludeDirectories>..\..\libtirpc\tirpc;..\..\sys;..\..\dll;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  483. +      <LanguageStandard_C>stdc17</LanguageStandard_C>
  484. +      <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
  485. +    </ClCompile>
  486. +    <Link>
  487. +      <SubSystem>Console</SubSystem>
  488.        <GenerateDebugInformation>true</GenerateDebugInformation>
  489.        <EnableCOMDATFolding>true</EnableCOMDATFolding>
  490.        <OptimizeReferences>true</OptimizeReferences>
  491. @@ -138,15 +141,16 @@
  492.        <WarningLevel>Level3</WarningLevel>
  493.        <PrecompiledHeader>
  494.        </PrecompiledHeader>
  495. -      <Optimization>MaxSpeed</Optimization>
  496. -      <FunctionLevelLinking>true</FunctionLevelLinking>
  497. -      <IntrinsicFunctions>true</IntrinsicFunctions>
  498. -      <PreprocessorDefinitions>WIN32_LEAN_AND_MEAN;FD_SETSIZE=1024;INET6;NO_CB_4_KRB5P;_CRT_SECURE_NO_WARNINGS;_WINSOCK_DEPRECATED_NO_WARNINGS;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  499. -      <AdditionalIncludeDirectories>..\..\libtirpc\tirpc;..\..\sys;..\..\dll;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  500. -      <LanguageStandard_C>stdc17</LanguageStandard_C>
  501. -    </ClCompile>
  502. -    <Link>
  503. -      <SubSystem>Console</SubSystem>
  504. +      <Optimization>MaxSpeed</Optimization>
  505. +      <FunctionLevelLinking>true</FunctionLevelLinking>
  506. +      <IntrinsicFunctions>true</IntrinsicFunctions>
  507. +      <PreprocessorDefinitions>WIN32_LEAN_AND_MEAN;FD_SETSIZE=1024;INET6;NO_CB_4_KRB5P;_CRT_SECURE_NO_WARNINGS;_WINSOCK_DEPRECATED_NO_WARNINGS;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  508. +      <AdditionalIncludeDirectories>..\..\libtirpc\tirpc;..\..\sys;..\..\dll;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  509. +      <LanguageStandard_C>stdc17</LanguageStandard_C>
  510. +      <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
  511. +    </ClCompile>
  512. +    <Link>
  513. +      <SubSystem>Console</SubSystem>
  514.        <GenerateDebugInformation>true</GenerateDebugInformation>
  515.        <EnableCOMDATFolding>true</EnableCOMDATFolding>
  516.        <OptimizeReferences>true</OptimizeReferences>
  517. @@ -154,19 +158,19 @@
  518.      </Link>
  519.    </ItemDefinitionGroup>
  520.    <ItemGroup>
  521. -    <ClCompile Include="..\..\daemon\acl.c" />
  522. -    <ClCompile Include="..\..\daemon\callback_server.c" />
  523. -    <ClCompile Include="..\..\daemon\callback_xdr.c" />
  524. -    <ClCompile Include="..\..\daemon\cpvparser1.c" />
  525. -    <ClCompile Include="..\..\daemon\daemon_debug.c" />
  526. -    <ClCompile Include="..\..\daemon\delegation.c" />
  527. -    <ClCompile Include="..\..\daemon\ea.c" />
  528. -    <ClCompile Include="..\..\daemon\getattr.c" />
  529. -    <ClCompile Include="..\..\daemon\idmap.c" />
  530. -    <ClCompile Include="..\..\daemon\idmap_cygwin.c" />
  531. -    <ClCompile Include="..\..\daemon\lock.c" />
  532. -    <ClCompile Include="..\..\daemon\lookup.c" />
  533. -    <ClCompile Include="..\..\daemon\mount.c" />
  534. +    <ClCompile Include="..\..\daemon\acl.c" />
  535. +    <ClCompile Include="..\..\daemon\callback_server.c" />
  536. +    <ClCompile Include="..\..\daemon\callback_xdr.c" />
  537. +    <ClCompile Include="..\..\daemon\cpvparser1.c" />
  538. +    <ClCompile Include="..\..\daemon\daemon_debug.c" />
  539. +    <ClCompile Include="..\..\daemon\delegation.c" />
  540. +    <ClCompile Include="..\..\daemon\ea.c" />
  541. +    <ClCompile Include="..\..\daemon\getattr.c" />
  542. +    <ClCompile Include="..\..\daemon\idmap.c" />
  543. +    <ClCompile Include="..\..\daemon\idmap_cygwin.c" />
  544. +    <ClCompile Include="..\..\daemon\lock.c" />
  545. +    <ClCompile Include="..\..\daemon\lookup.c" />
  546. +    <ClCompile Include="..\..\daemon\mount.c" />
  547.      <ClCompile Include="..\..\daemon\namespace.c" />
  548.      <ClCompile Include="..\..\daemon\name_cache.c" />
  549.      <ClCompile Include="..\..\daemon\nfs41_client.c" />
  550. @@ -185,20 +189,20 @@
  551.      <ClCompile Include="..\..\daemon\pnfs_layout.c" />
  552.      <ClCompile Include="..\..\daemon\readdir.c" />
  553.      <ClCompile Include="..\..\daemon\readwrite.c" />
  554. -    <ClCompile Include="..\..\daemon\recovery.c" />
  555. -    <ClCompile Include="..\..\daemon\service.c" />
  556. -    <ClCompile Include="..\..\daemon\setattr.c" />
  557. -    <ClCompile Include="..\..\daemon\sid.c" />
  558. -    <ClCompile Include="..\..\daemon\symlink.c" />
  559. -    <ClCompile Include="..\..\daemon\upcall.c" />
  560. -    <ClCompile Include="..\..\daemon\util.c" />
  561. -    <ClCompile Include="..\..\daemon\volume.c" />
  562. -  </ItemGroup>
  563. -  <ItemGroup>
  564. -    <ClInclude Include="..\..\daemon\cpvparser1.h" />
  565. -    <ClInclude Include="..\..\daemon\daemon_debug.h" />
  566. -    <ClInclude Include="..\..\daemon\delegation.h" />
  567. -    <ClInclude Include="..\..\daemon\from_kernel.h" />
  568. +    <ClCompile Include="..\..\daemon\recovery.c" />
  569. +    <ClCompile Include="..\..\daemon\service.c" />
  570. +    <ClCompile Include="..\..\daemon\setattr.c" />
  571. +    <ClCompile Include="..\..\daemon\sid.c" />
  572. +    <ClCompile Include="..\..\daemon\symlink.c" />
  573. +    <ClCompile Include="..\..\daemon\upcall.c" />
  574. +    <ClCompile Include="..\..\daemon\util.c" />
  575. +    <ClCompile Include="..\..\daemon\volume.c" />
  576. +  </ItemGroup>
  577. +  <ItemGroup>
  578. +    <ClInclude Include="..\..\daemon\cpvparser1.h" />
  579. +    <ClInclude Include="..\..\daemon\daemon_debug.h" />
  580. +    <ClInclude Include="..\..\daemon\delegation.h" />
  581. +    <ClInclude Include="..\..\daemon\from_kernel.h" />
  582.      <ClInclude Include="..\..\daemon\idmap.h" />
  583.      <ClInclude Include="..\..\daemon\list.h" />
  584.      <ClInclude Include="..\..\daemon\name_cache.h" />
  585. @@ -209,13 +213,13 @@
  586.      <ClInclude Include="..\..\daemon\nfs41_ops.h" />
  587.      <ClInclude Include="..\..\daemon\nfs41_types.h" />
  588.      <ClInclude Include="..\..\daemon\nfs41_xdr.h" />
  589. -    <ClInclude Include="..\..\daemon\pnfs.h" />
  590. -    <ClInclude Include="..\..\daemon\recovery.h" />
  591. -    <ClInclude Include="..\..\daemon\service.h" />
  592. -    <ClInclude Include="..\..\daemon\sid.h" />
  593. -    <ClInclude Include="..\..\daemon\tree.h" />
  594. -    <ClInclude Include="..\..\daemon\upcall.h" />
  595. -    <ClInclude Include="..\..\daemon\util.h" />
  596. +    <ClInclude Include="..\..\daemon\pnfs.h" />
  597. +    <ClInclude Include="..\..\daemon\recovery.h" />
  598. +    <ClInclude Include="..\..\daemon\service.h" />
  599. +    <ClInclude Include="..\..\daemon\sid.h" />
  600. +    <ClInclude Include="..\..\daemon\tree.h" />
  601. +    <ClInclude Include="..\..\daemon\upcall.h" />
  602. +    <ClInclude Include="..\..\daemon\util.h" />
  603.    </ItemGroup>
  604.    <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
  605.    <ImportGroup Label="ExtensionTargets">

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with {%HIGHLIGHT}




All content is user-submitted.
The administrators of this site (kpaste.net) are not responsible for their content.
Abuse reports should be emailed to us at