He-Pin opened a new pull request, #1109:
URL: https://github.com/apache/pekko-http/pull/1109

   ### Motivation
   Treating warnings as errors ensures that deprecated API usage and other code 
quality issues are caught at compile time rather than accumulating silently.
   
   ### Modification
   - Add `-Xfatal-warnings` to Scala 2 `scalacOptions` in `Common.scala`
   - Add `-Werror` to Scala 3 `scalacOptions`
   - Remove `-Wconf:cat=deprecation:s` for Scala 3 so deprecation warnings are 
no longer silenced
   - Exclude `-Xfatal-warnings` from `Compile / doc` scope to avoid doc 
generation failures
   
   ### Result
   All compiler warnings are now treated as errors, enforcing higher code 
quality and catching deprecated API usage at compile time.
   
   ### Tests
   - CI will verify compilation
   
   ### References
   None — build configuration improvement


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to