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

Restore and modernize ModelicaUtilities.h #4535

Merged

Conversation

beutlich
Copy link
Member

@beutlich beutlich commented Feb 15, 2025

Same as #4487, but targeting master branch and additionally

  • adapting CMake configuration files
  • modernizing noreturn function attribute/specifier as proposed by @HansOlsson

Revert "refs modelica#3867: Remove LICENSE_ModelicaUtilities.txt"

This reverts commit 7fe506f.

Revert "refs modelica#3867: Remove ModelicaUtilities.h"

This reverts commit 1bb1d40.
* Handle C23
* Remove fallback to legacy clang extension
* Remove fallback to legacy gcc2/gcc3 extensions
@beutlich beutlich requested a review from casella February 15, 2025 09:42
@beutlich beutlich added L: C-Sources Issue addresses Modelica/Resources/C-Sources L: Resources Issue addresses Modelica/Resources (excl. C-Sources) labels Feb 15, 2025
Copy link
Contributor

@casella casella left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, also after MAP-Lib discussion

@casella casella requested a review from maltelenz February 25, 2025 10:58
Copy link
Contributor

@maltelenz maltelenz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving as asked by MAPLib meeting.

@casella casella merged commit 2ed982f into modelica:master Feb 25, 2025
11 checks passed
@casella
Copy link
Contributor

casella commented Feb 25, 2025

@maltelenz please back-port this to maint/4.1.x as agreed during the MAP-Lib meeting

@maltelenz
Copy link
Contributor

@casella See comment here: #4484 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
L: C-Sources Issue addresses Modelica/Resources/C-Sources L: Resources Issue addresses Modelica/Resources (excl. C-Sources)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants