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

Submodule duplicate name issue #1063

Open
singleterry opened this issue Jul 29, 2024 · 0 comments
Open

Submodule duplicate name issue #1063

singleterry opened this issue Jul 29, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@singleterry
Copy link

Description

A submodule has the same name either in a dependant library or in the same library but the module it is attached to have different names. The standard says

14.2.3 line 6: “… the submodule name by itself is not a local or global identifier.”

The fix to avoid this bug is easy: all submodule names are different (probably a best practise issue anyway).

Expected Behaviour

I always put the accessors for private data in a submodule with the name accessors_smod. They are attached to unique module names. FPM should not error and compile properly as the compilers will not balk at this.

Version of fpm

0.10.0, alpha

Platform and Architecture

linux

Additional Information

No response

@singleterry singleterry added the bug Something isn't working label Jul 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant