Skip to content

Fix compiler warnings and NDStdArrays_settings.req $(R) prefix. - #41

Open
AbdallaDalleh wants to merge 1 commit into
epics-modules:masterfrom
AbdallaDalleh:fix-warnings
Open

Fix compiler warnings and NDStdArrays_settings.req $(R) prefix.#41
AbdallaDalleh wants to merge 1 commit into
epics-modules:masterfrom
AbdallaDalleh:fix-warnings

Conversation

@AbdallaDalleh

Copy link
Copy Markdown

NDStdArrays_settings.req: autosave complains that NDStdArrays PVs (PREFIX:image1:) are not found while the template is loaded with (PREFIX:AH501:) so now autosave will look for PREFIX:AH501:image1:*

Compiler warnings:

  • -Wstrict-aliasing: Fixed using memcpy on a temp variable.
  • -Wunused-but-set-variable : Added extra check status != asynSuccess besides (nRead == 0) on calls to pasynOctetSyncIO->read, other warning locations was "fixed" using (void)variable. Marked TODO for future references.

NDStdArrays_settings.req: autosave complains that NDStdArrays
PVs (PREFIX:image1:*) are not found while the template is loaded
with (PREFIX:AH501:) so now autosave will look for
PREFIX:AH501:image1:*

Compiler warnings:
  -Wstrict-aliasing : Fixed using memcpy on a temp variable.
  -Wunused-but-set-variable : Added extra check if status != asynSuccess
     besides (nRead == 0) on calls to pasynOctetSyncIO->read, other
     warning locations was "fixed" using (void)variable. Marked TODO
     for future references.
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