Bug 2117 - cairo-wideint.c is C++ file
cairo-wideint.c is C++ file
Status: RESOLVED INVALID
Product: ns-3
Classification: Unclassified
Component: core
ns-3-dev
All All
: P5 enhancement
Assigned To: Mathieu Lacage
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-05-07 21:28 UTC by whimsyduke
Modified: 2015-05-11 09:55 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description whimsyduke 2015-05-07 21:28:17 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?
Comment 1 Mathieu Lacage 2015-05-11 07:34:48 UTC
(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 ?
Comment 2 whimsyduke 2015-05-11 09:31:19 UTC
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.
Comment 3 Mathieu Lacage 2015-05-11 09:55:31 UTC
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).