Commit 05560ef
authored
FEAT: Enforce Level 3 and 4 warnings as errors to adhere to compliance standards. (#78)
This pull request introduces a platform-specific enhancement to the
build configuration for `ddbc_bindings` in the `CMakeLists.txt` file. It
adds stricter warning level flags for MSVC to improve code quality.
Build configuration improvement:
*
[`mssql_python/pybind/CMakeLists.txt`](diffhunk://#diff-dbb5892fbbb28149d1639664797cf3adb48ced28ec11aba95f2e2b338ca46badR289-R294):
Added a conditional block to apply `/W4` (warning level 4) and `/WX`
(treat warnings as errors) compiler flags when building with MSVC. This
ensures stricter code quality checks for Windows builds.1 parent 8899355 commit 05560ef
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
286 | 286 | | |
287 | 287 | | |
288 | 288 | | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
289 | 294 | | |
290 | 295 | | |
291 | 296 | | |
| |||
0 commit comments