A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2002-February/019815.html below:

[Python-Dev] Should Python compile as C++?

[Python-Dev] Should Python compile as C++? [Python-Dev] Should Python compile as C++?Tim Peters tim.one@comcast.net
Tue, 05 Feb 2002 07:31:16 -0500
> ...
> MSVC has had the same problem for years. What's strange is that in some
> cases, MSVC does seem to get it right where in others it fails with an
> error -- probably a DLL vs. EXE thing.

MS C can't handle cross-DLL references in initializers, because they're
truly not "constant" in the way C requires (but C doesn't say anything about
DLLs!).  C++'s initialization model is much more liberal (and
correspondingly more elaborate and expensive), and C++ can handle cross-DLL
references in initializers.  MSVC plays both according to reasonable
readings of the respective languages' rules.




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4