I am VERY new to C++ and am working on a project for my programming class. I
have pulled code from another source file that I have to accomplish my task,
and have no syntax errors.
When I attempt to compile, I am getting the Error 1.
Here is my log:
Compiler: Default compiler
Building Makefile: "C:\Users\Le' Darien A. Diaz\Documents\CIS-131 Programming
and Problem Solving\CIS131-Lab 4-Le' Darien Diaz\Makefile.win"
Executing make...
make.exe -f "C:\Users\Le' Darien A. Diaz\Documents\CIS-131 Programming and
Problem Solving\CIS131-Lab 4-Le' Darien Diaz\Makefile.win" all
g++.exe -c timeline.cpp -o timeline.o -I"C:/Dev-
Cpp/lib/gcc/mingw32/3.4.2/include" -I"C:/Dev-Cpp/include/c++/3.4.2/backward"
-I"C:/Dev-Cpp/include/c++/3.4.2/mingw32" -I"C:/Dev-Cpp/include/c++/3.4.2" -I"C
:/Dev-Cpp/include"
In file included from C:/Dev-Cpp/include/c++/3.4.2/backward/iostream.h:31,
from C:/Dev-Cpp/include/c++/3.4.2/backward/apstring.h:4,
from timeline.cpp:18:
C:/Dev-Cpp/include/c++/3.4.2/backward/backward_warning.h:32:2: warning:
warning This file includes at least one deprecated or antiquated header.
Please consider using one of the 32 headers found in section 17.4.1.2 of the
C++ standard. Examples include substituting the <X> header for the <X.h>
header for C++ includes, or <iostream> instead of the deprecated header
<iostream.h>. To disable this warning use -Wno-deprecated.
timeline.cpp:89:13: empty character constant
make.exe: *** Error 1
Execution terminated
What am I missing? Forgive me for being green. If it is something obvious, I
will just have to chalk it up as a "Now I know" experience.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I don't know about Make, but is using the -o timeline.o directive legal.
filename.o types are a pre-link file type. The complier may not let you name
the output file that way. Try -o timeline.exe.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am VERY new to C++ and am working on a project for my programming class. I
have pulled code from another source file that I have to accomplish my task,
and have no syntax errors.
When I attempt to compile, I am getting the Error 1.
Here is my log:
Compiler: Default compiler
Building Makefile: "C:\Users\Le' Darien A. Diaz\Documents\CIS-131 Programming
and Problem Solving\CIS131-Lab 4-Le' Darien Diaz\Makefile.win"
Executing make...
make.exe -f "C:\Users\Le' Darien A. Diaz\Documents\CIS-131 Programming and
Problem Solving\CIS131-Lab 4-Le' Darien Diaz\Makefile.win" all
g++.exe -c timeline.cpp -o timeline.o -I"C:/Dev-
Cpp/lib/gcc/mingw32/3.4.2/include" -I"C:/Dev-Cpp/include/c++/3.4.2/backward"
-I"C:/Dev-Cpp/include/c++/3.4.2/mingw32" -I"C:/Dev-Cpp/include/c++/3.4.2" -I"C
:/Dev-Cpp/include"
In file included from C:/Dev-Cpp/include/c++/3.4.2/backward/iostream.h:31,
from C:/Dev-Cpp/include/c++/3.4.2/backward/apstring.h:4,
from timeline.cpp:18:
C:/Dev-Cpp/include/c++/3.4.2/backward/backward_warning.h:32:2: warning:
warning This file includes at least one deprecated or antiquated header.
Please consider using one of the 32 headers found in section 17.4.1.2 of the
C++ standard. Examples include substituting the <X> header for the <X.h>
header for C++ includes, or <iostream> instead of the deprecated header
<iostream.h>. To disable this warning use -Wno-deprecated.
timeline.cpp:89:13: empty character constant
make.exe: *** Error 1
Execution terminated
What am I missing? Forgive me for being green. If it is something obvious, I
will just have to chalk it up as a "Now I know" experience.
I don't know about Make, but is using the -o timeline.o directive legal.
filename.o types are a pre-link file type. The complier may not let you name
the output file that way. Try -o timeline.exe.