Skip to content

[mir] Disable nncc_common option#15256

Merged
seanshpark merged 1 commit into
Samsung:masterfrom
seanshpark:mir_off_nncccmn
Apr 29, 2025
Merged

[mir] Disable nncc_common option#15256
seanshpark merged 1 commit into
Samsung:masterfrom
seanshpark:mir_off_nncccmn

Conversation

@seanshpark

Copy link
Copy Markdown
Contributor

This will disable nncc_common option to prevent _GLIBCXX17_DEPRECATED warning as error.

ONE-DCO-1.0-Signed-off-by: SaeHie Park saehie.park@gmail.com

@seanshpark

Copy link
Copy Markdown
Contributor Author

@seanshpark seanshpark requested a review from a team April 29, 2025 01:06
This will disable nncc_common option to prevent _GLIBCXX17_DEPRECATED warning as error.

ONE-DCO-1.0-Signed-off-by: SaeHie Park <saehie.park@gmail.com>

@shs-park shs-park 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.

I left a question,
PTAL
=)

target_link_libraries(mir PUBLIC adtidas)
target_link_libraries(mir PRIVATE nncc_common)
# to prevent _GLIBCXX17_DEPRECATED warning as error
# target_link_libraries(mir PRIVATE nncc_common)

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.

Does this mean we don't need nncc_common library anymore?
Is it okay to remove this library?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

it is not like "not needed anymore" but it's like "cannot use this option anymore".

nncc_common is to set strict build, like treating warning as error option.
to fix the issue correctly is not to use deprecated std::iterator,
but as mir and nncc modules are not maintained and not used anymore,
and I personally don't know the codes, I'm nust avoiding the problem.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I neither know those codes. Maybe we can remove mir and nnc if they are not maintained anymore?

@shs-park shs-park 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.

LGTM!
=)

@jinevening jinevening left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

@seanshpark seanshpark merged commit 84a3a26 into Samsung:master Apr 29, 2025
@seanshpark seanshpark deleted the mir_off_nncccmn branch April 29, 2025 04:33
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.

3 participants