Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -------------- Build: Debug in ppp12 (compiler: GNU GCC Compiler)---------------
- g++ -I/usr/include/freetype2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -D_THREAD_SAFE -D_REENTRANT -std=c++14 -g -std=c++14 -c /home/username/codeblocks_proj/ppp12/Graph.cpp -o obj/Debug/Graph.o
- /home/username/codeblocks_proj/ppp12/Graph.cpp: In member function ‘void Graph_lib::Polygon::add(Graph_lib::Point)’:
- /home/username/codeblocks_proj/ppp12/Graph.cpp:74:19: error: no matching function for call to ‘Graph_lib::Point::Point(int, int)’
- Point ignore(0,0);
- ^
- In file included from /home/username/codeblocks_proj/ppp12/Graph.h:4:0,
- from /home/username/codeblocks_proj/ppp12/Graph.cpp:1:
- /home/username/codeblocks_proj/ppp12/Point.h:9:8: note: candidate: Graph_lib::Point::Point()
- struct Point {
- ^
- /home/username/codeblocks_proj/ppp12/Point.h:9:8: note: candidate expects 0 arguments, 2 provided
- /home/username/codeblocks_proj/ppp12/Point.h:9:8: note: candidate: constexpr Graph_lib::Point::Point(const Graph_lib::Point&)
- /home/username/codeblocks_proj/ppp12/Point.h:9:8: note: candidate expects 1 argument, 2 provided
- /home/username/codeblocks_proj/ppp12/Point.h:9:8: note: candidate: constexpr Graph_lib::Point::Point(Graph_lib::Point&&)
- /home/username/codeblocks_proj/ppp12/Point.h:9:8: note: candidate expects 1 argument, 2 provided
- /home/username/codeblocks_proj/ppp12/Graph.cpp: In constructor ‘Graph_lib::Function::Function(double (*)(double), double, double, Graph_lib::Point, int, double, double)’:
- /home/username/codeblocks_proj/ppp12/Graph.cpp:148:53: error: no matching function for call to ‘Graph_lib::Point::Point(int, int)’
- add(Point(xy.x+int(r*xscale),xy.y-int(f(r)*yscale)));
- ^
- In file included from /home/username/codeblocks_proj/ppp12/Graph.h:4:0,
- from /home/username/codeblocks_proj/ppp12/Graph.cpp:1:
- /home/username/codeblocks_proj/ppp12/Point.h:9:8: note: candidate: Graph_lib::Point::Point()
- struct Point {
- ^
- /home/username/codeblocks_proj/ppp12/Point.h:9:8: note: candidate expects 0 arguments, 2 provided
- /home/username/codeblocks_proj/ppp12/Point.h:9:8: note: candidate: constexpr Graph_lib::Point::Point(const Graph_lib::Point&)
- /home/username/codeblocks_proj/ppp12/Point.h:9:8: note: candidate expects 1 argument, 2 provided
- /home/username/codeblocks_proj/ppp12/Point.h:9:8: note: candidate: constexpr Graph_lib::Point::Point(Graph_lib::Point&&)
- /home/username/codeblocks_proj/ppp12/Point.h:9:8: note: candidate expects 1 argument, 2 provided
- /home/username/codeblocks_proj/ppp12/Graph.cpp: In constructor ‘Graph_lib::Axis::Axis(Graph_lib::Axis::Orientation, Graph_lib::Point, int, int, std::__cxx11::string)’:
- /home/username/codeblocks_proj/ppp12/Graph.cpp:169:18: error: no matching function for call to ‘Graph_lib::Point::Point(int, int)’
- :label(Point(0,0),lab)
- ^
- In file included from /home/username/codeblocks_proj/ppp12/Graph.h:4:0,
- from /home/username/codeblocks_proj/ppp12/Graph.cpp:1:
- /home/username/codeblocks_proj/ppp12/Point.h:9:8: note: candidate: Graph_lib::Point::Point()
- struct Point {
- ^
- /home/username/codeblocks_proj/ppp12/Point.h:9:8: note: candidate expects 0 arguments, 2 provided
- /home/username/codeblocks_proj/ppp12/Point.h:9:8: note: candidate: constexpr Graph_lib::Point::Point(const Graph_lib::Point&)
- /home/username/codeblocks_proj/ppp12/Point.h:9:8: note: candidate expects 1 argument, 2 provided
- /home/username/codeblocks_proj/ppp12/Point.h:9:8: note: candidate: constexpr Graph_lib::Point::Point(Graph_lib::Point&&)
- /home/username/codeblocks_proj/ppp12/Point.h:9:8: note: candidate expects 1 argument, 2 provided
- /home/username/codeblocks_proj/ppp12/Graph.cpp:175:37: error: no matching function for call to ‘Graph_lib::Point::Point(int, int&)’
- Shape::add(Point(xy.x+length,xy.y)); // axis line
- ^
- In file included from /home/username/codeblocks_proj/ppp12/Graph.h:4:0,
- from /home/username/codeblocks_proj/ppp12/Graph.cpp:1:
- /home/username/codeblocks_proj/ppp12/Point.h:9:8: note: candidate: Graph_lib::Point::Point()
- struct Point {
- ^
- /home/username/codeblocks_proj/ppp12/Point.h:9:8: note: candidate expects 0 arguments, 2 provided
- /home/username/codeblocks_proj/ppp12/Point.h:9:8: note: candidate: constexpr Graph_lib::Point::Point(const Graph_lib::Point&)
- /home/username/codeblocks_proj/ppp12/Point.h:9:8: note: candidate expects 1 argument, 2 provided
- /home/username/codeblocks_proj/ppp12/Point.h:9:8: note: candidate: constexpr Graph_lib::Point::Point(Graph_lib::Point&&)
- /home/username/codeblocks_proj/ppp12/Point.h:9:8: note: candidate expects 1 argument, 2 provided
- /home/username/codeblocks_proj/ppp12/Graph.cpp:180:30: error: no matching function for call to ‘Graph_lib::Point::Point(int&, int&)’
- notches.add(Point(x,xy.y),Point(x,xy.y-5));
- ^
- In file included from /home/username/codeblocks_proj/ppp12/Graph.h:4:0,
- from /home/username/codeblocks_proj/ppp12/Graph.cpp:1:
- /home/username/codeblocks_proj/ppp12/Point.h:9:8: note: candidate: Graph_lib::Point::Point()
- struct Point {
- ^
- /home/username/codeblocks_proj/ppp12/Point.h:9:8: note: candidate expects 0 arguments, 2 provided
- /home/username/codeblocks_proj/ppp12/Point.h:9:8: note: candidate: constexpr Graph_lib::Point::Point(const Graph_lib::Point&)
- /home/username/codeblocks_proj/ppp12/Point.h:9:8: note: candidate expects 1 argument, 2 provided
- /home/username/codeblocks_proj/ppp12/Point.h:9:8: note: candidate: constexpr Graph_lib::Point::Point(Graph_lib::Point&&)
- /home/username/codeblocks_proj/ppp12/Point.h:9:8: note: candidate expects 1 argument, 2 provided
- /home/username/codeblocks_proj/ppp12/Graph.cpp:180:46: error: no matching function for call to ‘Graph_lib::Point::Point(int&, int)’
- notches.add(Point(x,xy.y),Point(x,xy.y-5));
- ^
- In file included from /home/username/codeblocks_proj/ppp12/Graph.h:4:0,
- from /home/username/codeblocks_proj/ppp12/Graph.cpp:1:
- /home/username/codeblocks_proj/ppp12/Point.h:9:8: note: candidate: Graph_lib::Point::Point()
- struct Point {
- ^
- /home/username/codeblocks_proj/ppp12/Point.h:9:8: note: candidate expects 0 arguments, 2 provided
- /home/username/codeblocks_proj/ppp12/Point.h:9:8: note: candidate: constexpr Graph_lib::Point::Point(const Graph_lib::Point&)
- /home/username/codeblocks_proj/ppp12/Point.h:9:8: note: candidate expects 1 argument, 2 provided
- /home/username/codeblocks_proj/ppp12/Point.h:9:8: note: candidate: constexpr Graph_lib::Point::Point(Graph_lib::Point&&)
- /home/username/codeblocks_proj/ppp12/Point.h:9:8: note: candidate expects 1 argument, 2 provided
- /home/username/codeblocks_proj/ppp12/Graph.cpp:190:37: error: no matching function for call to ‘Graph_lib::Point::Point(int&, int)’
- Shape::add(Point(xy.x,xy.y-length));
- ^
- In file included from /home/username/codeblocks_proj/ppp12/Graph.h:4:0,
- from /home/username/codeblocks_proj/ppp12/Graph.cpp:1:
- /home/username/codeblocks_proj/ppp12/Point.h:9:8: note: candidate: Graph_lib::Point::Point()
- struct Point {
- ^
- /home/username/codeblocks_proj/ppp12/Point.h:9:8: note: candidate expects 0 arguments, 2 provided
- /home/username/codeblocks_proj/ppp12/Point.h:9:8: note: candidate: constexpr Graph_lib::Point::Point(const Graph_lib::Point&)
- /home/username/codeblocks_proj/ppp12/Point.h:9:8: note: candidate expects 1 argument, 2 provided
- /home/username/codeblocks_proj/ppp12/Point.h:9:8: note: candidate: constexpr Graph_lib::Point::Point(Graph_lib::Point&&)
- /home/username/codeblocks_proj/ppp12/Point.h:9:8: note: candidate expects 1 argument, 2 provided
- /home/username/codeblocks_proj/ppp12/Graph.cpp:195:29: error: no matching function for call to ‘Graph_lib::Point::Point(int&, int&)’
- notches.add(Point(xy.x,y),Point(xy.x+5,y));
- ^
- In file included from /home/username/codeblocks_proj/ppp12/Graph.h:4:0,
- from /home/username/codeblocks_proj/ppp12/Graph.cpp:1:
- /home/username/codeblocks_proj/ppp12/Point.h:9:8: note: candidate: Graph_lib::Point::Point()
- struct Point {
- ^
- /home/username/codeblocks_proj/ppp12/Point.h:9:8: note: candidate expects 0 arguments, 2 provided
- /home/username/codeblocks_proj/ppp12/Point.h:9:8: note: candidate: constexpr Graph_lib::Point::Point(const Graph_lib::Point&)
- /home/username/codeblocks_proj/ppp12/Point.h:9:8: note: candidate expects 1 argument, 2 provided
- /home/username/codeblocks_proj/ppp12/Point.h:9:8: note: candidate: constexpr Graph_lib::Point::Point(Graph_lib::Point&&)
- /home/username/codeblocks_proj/ppp12/Point.h:9:8: note: candidate expects 1 argument, 2 provided
- /home/username/codeblocks_proj/ppp12/Graph.cpp:195:45: error: no matching function for call to ‘Graph_lib::Point::Point(int, int&)’
- notches.add(Point(xy.x,y),Point(xy.x+5,y));
- ^
- In file included from /home/username/codeblocks_proj/ppp12/Graph.h:4:0,
- from /home/username/codeblocks_proj/ppp12/Graph.cpp:1:
- /home/username/codeblocks_proj/ppp12/Point.h:9:8: note: candidate: Graph_lib::Point::Point()
- struct Point {
- ^
- /home/username/codeblocks_proj/ppp12/Point.h:9:8: note: candidate expects 0 arguments, 2 provided
- /home/username/codeblocks_proj/ppp12/Point.h:9:8: note: candidate: constexpr Graph_lib::Point::Point(const Graph_lib::Point&)
- /home/username/codeblocks_proj/ppp12/Point.h:9:8: note: candidate expects 1 argument, 2 provided
- /home/username/codeblocks_proj/ppp12/Point.h:9:8: note: candidate: constexpr Graph_lib::Point::Point(Graph_lib::Point&&)
- /home/username/codeblocks_proj/ppp12/Point.h:9:8: note: candidate expects 1 argument, 2 provided
- /home/username/codeblocks_proj/ppp12/Graph.cpp: In function ‘bool Graph_lib::can_open(const string&)’:
- /home/username/codeblocks_proj/ppp12/Graph.cpp:313:9: error: cannot convert ‘std::ifstream {aka std::basic_ifstream<char>}’ to ‘bool’ in return
- return ff;
- ^
- Process terminated with status 1 (0 minute(s), 1 second(s))
- 10 error(s), 0 warning(s) (0 minute(s), 1 second(s))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement