cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
MSVC extern static spec conformance
MSVC extern static spec conformance
Dec 30, 2008 at 12:53am UTC
therabbit
(1)
Hi,
This compiles clean on MSVC 2005.
extern int d;
static int d;
This should not compile, per the ARM (7.1.1). So, rightly this doesn't compile on gcc.
So, what's the deal with MSVC? This is like C++ 101.
Topic archived. No new replies allowed.