| | |
C++ source file being compiled as C source file
Please support our C++ advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: May 2008
Posts: 97
Reputation:
Solved Threads: 16
I am using gcc on Suse Linux Enterprise Server 10 to compile my C++ source files. The problem I have is that when I invoke the command
I realized the problem when I was trying to set up wxPython on my system since the .ccp source files on wxPython sources were being compiled as C source files thus generating countless lines of C errors .
I have tried to solve it but no progress so far.
Any help will be highly appreciated!
g++ source_file.cppthe file source_file.cpp is compiled as a C source file.
I realized the problem when I was trying to set up wxPython on my system since the .ccp source files on wxPython sources were being compiled as C source files thus generating countless lines of C errors .
I have tried to solve it but no progress so far.
Any help will be highly appreciated!
Well only thing I can think of is there might be some problem with your repositories.So may be you can install them again.Because some problems can arise because they are of same origin.
gcc is GNU Compiler Collection which has specific packages for compilation of C++ files which we call g++.
gcc is GNU Compiler Collection which has specific packages for compilation of C++ files which we call g++.
I Surf in "C"....
![]() |
Similar Threads
- C Sockets and object cache (C)
- peterb (C++)
- Writng to the same text file from a differentes c++ source files (C++)
- Executing cmds in console using java (Java)
- Reading text file and copying to new one. Bit file editing too. (C++)
- "Cannot delete file: Cannot read from the source file or disk." (Windows NT / 2000 / XP)
- How to execute the commands on one file and store the result on another file (Python)
- a device file in system.ini file damaged (Windows 95 / 98 / Me)
- problem with convert jumbled text file to unjumbled text file (C)
Other Threads in the C++ Forum
- Previous Thread: Problem sending Unicode in C++
- Next Thread: Open Dialog window in MFC
| Thread Tools | Search this Thread |
api application array arrays based beginner binary bitmap c++ c/c++ calculator char char* class classes coding compile compiler console conversion convert count data database delete desktop developer directshow dll dynamiccharacterarray email encryption error file forms fstream function functions game generator getline graph homeworkhelper iamthwee ifstream input int integer java lib linux list loop looping loops map math matrix memory multiple newbie news node number numbertoword output parameter pointer problem program programming project proxy python random read recursion recursive reference return rpg sorting string strings struct template templates text tree url vector video visual visualstudio win32 windows winsock word wordfrequency wxwidgets





