/in/Rectangle.c:3:11: error: conflicting types for 'create_rectangle'
Rectangle create_rectangle(double left_down_p, double right_up_p){
^~~~~~~~~~~~~~~~
In file included from /in/Rectangle.c:1:0:
/in/compile/Rectangle.h:21:11: note: previous declaration of 'create_rectangle' was here
Rectangle create_rectangle(const Point* left_down_p, const Point* right_up_p);
^~~~~~~~~~~~~~~~
/in/Rectangle.c: In function 'create_rectangle':
/in/Rectangle.c:4:22: error: missing braces around initializer [-Werror=missing-braces]
Rectangle rect = {left_down_p, right_up_p};
^
{ }
/in/Rectangle.c:4:5: error: missing initializer for field 'right_up_p' of 'Rectangle {aka struct <anonymous>}' [-Werror=missing-field-initializers]
Rectangle rect = {left_down_p, right_up_p};
^~~~~~~~~
In file included from /in/Rectangle.c:1:0:
/in/compile/Rectangle.h:13:11: note: 'right_up_p' declared here
Point right_up_p;
^~~~~~~~~~
cc1: all warnings being treated as errors