-
Notifications
You must be signed in to change notification settings - Fork 208
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Code in CFE TIME fails to compile with strict compiler settings #54
Comments
Imported from trac issue 23. Created by jphickey on 2015-01-16T22:22:15, last modified: 2019-03-05T14:57:55 |
Trac comment by jphickey on 2015-01-26 14:58:41: Branch "trac-23-time_compile_fixes" pushed -- commit [changeset:c4470dae] This adjusts the local variables / config preprocessor macros in CFE_TIME_MET2SCTime such that unused variables are not instantiated. |
Trac comment by jphickey on 2015-04-06 11:32:49: This is ready for review/merge |
Trac comment by sstrege on 2015-04-06 14:18:56: Concur with change/merge |
Trac comment by acudmore on 2015-04-07 09:35:21: Concur |
Trac comment by jwilmot on 2015-04-07 12:55:56: Concur. |
Trac comment by glimes on 2015-04-07 12:59:58: Tested changeset [changeset:c4470dae] as part of the ic-2015-03-10 merge. |
Trac comment by glimes on 2015-04-13 15:27:39: Part of integration candidate 2015-03-10, |
Trac comment by glimes on 2016-02-25 10:17:32: these will be fixed in CFE 6.5 |
Trac comment by jhageman on 2019-03-05 14:57:55: Milestone renamed |
When strict compiler flags are used, there are several instances of unused variables in CFE TIME. These are related to the configuration options (e.g. CFE_TIME_CFG_DEFAULT_TAI) where under some configurations a variable is declared and/or set but not actually used.
The preprocessor macros need to be adjusted such that the variable is not declared unless it is used.
The text was updated successfully, but these errors were encountered: