[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[task #16114] Print warning where integer overflow happens
From: |
Mohammad Akhlaghi |
Subject: |
[task #16114] Print warning where integer overflow happens |
Date: |
Wed, 24 May 2023 09:03:30 -0400 (EDT) |
Follow-up Comment #14, task #16114 (project gnuastro):
For the speed check, disable the warning message when re-building Gnuastro
with overflow check. Otherwise, with all these pixels, the warning messages
will take the time.
In the end, we just want one warning message for the whole command (so if
multiple pixels result in an overflow, only one warning is printed). We can do
this by setting a flag variable (that overflow happened or not) and the check
will just activate this flag.
After all the inputs are complete, the function will just print the warning
once (no matter how many overflow happened).
Do you think you can implement this also?
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/task/?16114>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/