Thread overview
[Issue 23735] 'extern' storage class affects function declarations
Feb 24, 2023
RazvanN
Feb 24, 2023
RazvanN
Feb 27, 2023
Iain Buclaw
February 24, 2023
https://issues.dlang.org/show_bug.cgi?id=23735

RazvanN <razvan.nitu1305@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |razvan.nitu1305@gmail.com

--- Comment #1 from RazvanN <razvan.nitu1305@gmail.com> ---
What does extern do for functions? Can't we just deprecate it?

--
February 24, 2023
https://issues.dlang.org/show_bug.cgi?id=23735

--- Comment #2 from RazvanN <razvan.nitu1305@gmail.com> ---
I mean, https://dlang.org/spec/declaration.html#extern doesn't offer any function examples and it states: "The primary usefulness of Extern Declarations is to connect with global variables declarations and functions in C or C++ files.". But  I don't see how extern (not extern(linkage)) is used to do that.

--
February 27, 2023
https://issues.dlang.org/show_bug.cgi?id=23735

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P1                          |P3

--