Not logged in
Log in now
Create an account
Subscribe to LWN
Recent Features
LWN.net Weekly Edition for April 4, 2013
LWN.net Weekly Edition for March 28, 2013
A kernel change breaks GlusterFS
PyCon: Evangelizing Python
Multipath TCP: an overview
Approximately, it does CC=g++
> I mean, even if I do "g++ main.c", main.c is still considered a C file and sizeof('a') should still be 1.
I assume you mean sizeof('a') should be 4 if it was considered a C file, but it isn't, using g++ implies the input file is C++
Copyright © 2013, Eklektix, Inc. Comments and public postings are copyrighted by their creators. Linux is a registered trademark of Linus Torvalds