Skip to content

quieten compiler warnings#890

Open
ourairquality wants to merge 1 commit into
rtklibexplorer:mainfrom
ourairquality:comp-warns-quieten
Open

quieten compiler warnings#890
ourairquality wants to merge 1 commit into
rtklibexplorer:mainfrom
ourairquality:comp-warns-quieten

Conversation

@ourairquality

Copy link
Copy Markdown

Building with Visual Studio, MSC, generated a lot of warnings that I had not seen with BCC. Significant issues were split out and this is the remainder of the changes to quieten them. Most are harmless expected coercion losses, but there was some odd code reworked.

Explicit type coercion.

Misc type coercion issues. Many related to the change of the obs_t SNR
from an int to a float that generate warnings with MSC.

rtksvrostat: change the SNR output argument from int to double,
and rework the callers. The obs_t SNR is now a float rather than an
integer.

str2time: The guard for the width was wrong. Change the start and width
arguments to be size_t to help avoid compiler warnings.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant