Skip to content
This repository was archived by the owner on Dec 12, 2024. It is now read-only.

Fix gcc warnings - #34

Merged
marbre merged 1 commit into
iml130:mainfrom
marbre:emitc_types
Jan 22, 2021
Merged

marbre merged 1 commit into
iml130:mainfrom
marbre:emitc_types

Conversation

@marbre

@marbre marbre commented Jan 22, 2021

Copy link
Copy Markdown
Contributor

So far, gcc moaned that e.g. struct std::array<long unsigned int, 1> has no
user-provided default constructor and the implicitly-defined
constructor does not initialize
long unsigned int std::array<long unsigned int, 1>::_M_elems [1].

Co-authored-by: David Ronnenberg [email protected]

@marbre
marbre requested a review from david-thiesen January 22, 2021 10:59
GCC moans that e.g. `struct std::array<long unsigned int, 1>` has no
user-provided default constructor. and the implicitly-defined
constructor does not initialize
`long unsigned int std::array<long unsigned int, 1>::_M_elems [1]`.
This fixes the warnings.

Co-authored-by: David Ronnenberg <[email protected]>

@david-thiesen david-thiesen left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looking good 👍

@marbre
marbre merged commit 4e501d8 into iml130:main Jan 22, 2021
@marbre
marbre deleted the emitc_types branch January 27, 2021 09:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants