You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had searched in the issues and found no similar issues.
Description
** For *.h files
Wrap the .h with "common/compile_check_begin.h" and "common/compile_check_end.h".
** For *.cpp files
Including "common/compile_check_begin.h" allows for internal compilation checks within the current cpp file.
Note that it should be placed under a namespace to avoid formatting checks on other included .h files as well.
** Our goals
Avoid some precision lost and cast them if sure to be safe.
TangSiyang2001
changed the title
[Enhancement] Add static check for implicit numric casts and fix potential precision loss
[Enhancement] Add static check for implicit numric casts and fix potential precision loss under dir /be/src/olap
Nov 21, 2024
TangSiyang2001
changed the title
[Enhancement] Add static check for implicit numric casts and fix potential precision loss under dir /be/src/olap
[Enhancement] Add static check for implicit numric casts and fix potential precision loss under dir doris/be/src/olap
Nov 21, 2024
Search before asking
Description
** For *.h files
Wrap the .h with "common/compile_check_begin.h" and "common/compile_check_end.h".
** For *.cpp files
Including "common/compile_check_begin.h" allows for internal compilation checks within the current cpp file.
Note that it should be placed under a namespace to avoid formatting checks on other included .h files as well.
** Our goals
Avoid some precision lost and cast them if sure to be safe.
** How to find problems
Run the bash script above, then compile be, then problems wiill be printed out.
** Reference
#44398
Everyone is free to pick several files and make contribution.
Solution
No response
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: