Skip to content
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

Improve omqwt compilation. Fix possbile errors. #11106

Merged
merged 1 commit into from
Aug 31, 2023

Conversation

mahge
Copy link
Contributor

@mahge mahge commented Aug 31, 2023

  • Define QWT_DL and QWT_MAKEDLL accordingly for all Windows compilations not just for MSVC.

  • Fix const qualifiers in omc_msvc.c. Removing const qualifiers on return values seems to be considered an error by MinGW clang-11. Possibly a warning on others.

  - Define `QWT_DL` and `QWT_MAKEDLL` accordingly for all Windows compilations
    not just for `MSVC`.

  - Fix const qualifiers in `omc_msvc.c`. Removing const qualifiers on
    return values seems to be considered an error by `MinGW clang-11`.
    Possibly a warning on others.
@mahge mahge added COMP/SimRT/C Issues and pull requests related to C simulation runtime. COMP/GUI/OMPlot Issue and pull request related to OMPlot labels Aug 31, 2023
@mahge mahge self-assigned this Aug 31, 2023
@mahge mahge enabled auto-merge (squash) August 31, 2023 12:01
@mahge mahge merged commit 1c9ed10 into OpenModelica:master Aug 31, 2023
1 of 2 checks passed
@mahge mahge deleted the fix_qwt_windows branch August 31, 2023 12:30
@mahge mahge mentioned this pull request Sep 2, 2023
15 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
COMP/GUI/OMPlot Issue and pull request related to OMPlot COMP/SimRT/C Issues and pull requests related to C simulation runtime.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant