Thread overview
[Issue 13366] RDMD - Symbol Undefined
Aug 23, 2014
Vladimir Panteleev
Aug 23, 2014
Dicebot
Aug 23, 2014
Gary Willoughby
Aug 23, 2014
Vladimir Panteleev
Aug 23, 2014
Vladimir Panteleev
Aug 24, 2014
sigod
August 23, 2014
https://issues.dlang.org/show_bug.cgi?id=13366

Vladimir Panteleev <thecybershadow@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |thecybershadow@gmail.com

--- Comment #1 from Vladimir Panteleev <thecybershadow@gmail.com> ---
As explained on the forum, "etc" is a package reserved for Phobos.

http://forum.dlang.org/post/igpnvhguqqrlwuaemrug@forum.dlang.org

I suppose we could narrow it down in rdmd to "etc.c" but really people shouldn't be mixing package names used in Phobos and in their code.

--
August 23, 2014
https://issues.dlang.org/show_bug.cgi?id=13366

Dicebot <public@dicebot.lv> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |public@dicebot.lv

--- Comment #2 from Dicebot <public@dicebot.lv> ---
Yes, this user code has always been invalid as it is using standard library package name.

--
August 23, 2014
https://issues.dlang.org/show_bug.cgi?id=13366

--- Comment #3 from Gary Willoughby <dev@nomad.so> ---
Maybe a more descriptive error message could be introduced about reserved package names?

--
August 23, 2014
https://issues.dlang.org/show_bug.cgi?id=13366

--- Comment #4 from Vladimir Panteleev <thecybershadow@gmail.com> ---
I don't think that would be possible unless you knew whether a module is actually part of the standard library (phobos.lib) or not. But, if you solve that, you can solve the original problem since now you know whether to compile/link it or not.

--
August 23, 2014
https://issues.dlang.org/show_bug.cgi?id=13366

Vladimir Panteleev <thecybershadow@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #5 from Vladimir Panteleev <thecybershadow@gmail.com> ---
Closing, as I don't see how we could make things "just work" in all situations without writing a custom linker.

--
August 24, 2014
https://issues.dlang.org/show_bug.cgi?id=13366

sigod <sigod.mail@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sigod.mail@gmail.com

--