citus icon indicating copy to clipboard operation
citus copied to clipboard

Added ability to build with warning - control reaches end of non-void function Werror=return-type"

Open SeleznevPavel opened this issue 1 year ago • 2 comments

We have a product where the warning Werror=return-type is enabled and is treated as an error for the entire build process. So our build process stops. Of course, we can do tricks in the build script, but I guess this commit will be useful because it removes one excluded warning.

SeleznevPavel avatar Aug 30 '24 10:08 SeleznevPavel

@microsoft-github-policy-service agree company="Sbertech" @microsoft-github-policy-service agree

SeleznevPavel avatar Aug 30 '24 10:08 SeleznevPavel

@hanefi @thanodnl

This pull request stopped my work on the main product - I can't modify the Citus sources in the project I am working on currently. Do you think it's possible to merge this pull request into the main branch?

Also, I didn't know how the review process is organized in Citus project.

SeleznevPavel avatar Sep 03 '24 09:09 SeleznevPavel

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 49.04%. Comparing base (c52f360) to head (29f7d02). Report is 2 commits behind head on main.

:exclamation: There is a different number of reports uploaded between BASE (c52f360) and HEAD (29f7d02). Click for more details.

HEAD has 151 uploads less than BASE
Flag BASE (c52f360) HEAD (29f7d02)
14_regress_check-pytest 2 0
_upgrade 30 1
15_regress_check-follower-cluster 2 0
14_regress_check-columnar-isolation 2 0
14_regress_check-follower-cluster 2 0
16_regress_check-pytest 2 0
15_regress_check-pytest 2 0
15_regress_check-query-generator 2 0
14_16_upgrade 2 0
15_regress_check-enterprise-isolation-logicalrep-3 2 0
16_regress_check-query-generator 2 0
16_regress_check-follower-cluster 2 0
15_regress_check-enterprise-isolation-logicalrep-2 2 0
15_regress_check-columnar-isolation 2 0
14_regress_check-enterprise-isolation-logicalrep-3 2 0
16_regress_check-columnar-isolation 2 0
16_regress_check-enterprise-isolation-logicalrep-3 2 0
15_regress_check-columnar 2 0
14_regress_check-split 2 0
14_regress_check-columnar 2 0
15_regress_check-split 2 0
14_regress_check-enterprise-failure 2 0
15_regress_check-multi-mx 2 0
15_regress_check-enterprise 2 0
15_regress_check-enterprise-isolation-logicalrep-1 2 0
14_regress_check-enterprise-isolation-logicalrep-1 2 0
16_regress_check-enterprise-isolation 2 0
16_regress_check-enterprise-isolation-logicalrep-1 2 0
14_regress_check-enterprise 2 0
16_cdc_installcheck 2 0
15_cdc_installcheck 2 0
14_regress_check-query-generator 2 0
16_regress_check-enterprise-failure 2 0
14_regress_check-enterprise-isolation-logicalrep-2 2 0
14_regress_check-operations 2 0
16_regress_check-failure 2 0
14_regress_check-multi-mx 2 0
16_regress_check-multi-mx 2 0
14_regress_check-failure 2 0
15_regress_check-failure 2 0
15_regress_check-enterprise-isolation 2 0
15_regress_check-vanilla 2 0
16_regress_check-enterprise-isolation-logicalrep-2 2 0
14_15_upgrade 2 0
16_regress_check-columnar 2 0
15_regress_check-isolation 2 0
16_regress_check-isolation 2 0
14_regress_check-isolation 2 0
14_regress_check-multi 2 0
15_regress_check-multi 2 0
16_regress_check-multi 2 0
15_regress_check-multi-1 1 0
14_regress_check-multi-1 1 0
16_regress_check-multi-1 2 0
15_regress_check-operations 2 0
16_regress_check-operations 2 0
16_regress_check-vanilla 2 0
15_16_upgrade 2 0
16_regress_check-enterprise 2 0
15_regress_check-enterprise-failure 2 0
14_regress_check-enterprise-isolation 2 0
14_regress_check-vanilla 2 0
16_regress_check-split 2 0
Additional details and impacted files
@@             Coverage Diff             @@
##             main    #7680       +/-   ##
===========================================
- Coverage   89.69%   49.04%   -40.65%     
===========================================
  Files         283      282        -1     
  Lines       60510    59501     -1009     
  Branches     7541     7313      -228     
===========================================
- Hits        54276    29185    -25091     
- Misses       4079    27699    +23620     
- Partials     2155     2617      +462     

codecov[bot] avatar Dec 02 '24 12:12 codecov[bot]

@hanefi I have squashed commits to better readability

SeleznevPavel avatar Dec 03 '24 09:12 SeleznevPavel