Bugzilla – Bug 2117
cairo-wideint.c is C++ file
Last modified: 2015-05-11 09:55:31 UTC
I find src/core/model/cairo-wideint.c is a .c file for C, and it is not a .cc file for C++, why? is it something different?
(In reply to whimsyduke from comment #0) > I find src/core/model/cairo-wideint.c is a .c file for C, and it is not a > .cc file for C++, why? is it something different? What exactly is the bug you are seeing ? Can you be specific on what you think should be done ?
I just feel strange that this file is a .c file. And all the other files in ns-3 is .cc file. So is it a wrong name? Of course there may be nothing different between .c and .cc file.
This is a C file. Its extension is naturally .c. It is also compiled with a C compiler and linked with the other C++ code in ns-3 (which is compiled with a C++ compiler).