[c++ pro] Compiler error

Hello, I keep getting an error in VCS compiler, but it does not show what is actually causing the error itself. The error is posted below.
Thanks in advance.
indent preformatted text by 4 spaces

21:40:13 -- info -- tar '967A 2.11.0.vex' succesfully extracted to: 
C:/Users/michael.oconnor.19/OneDrive/Desktop/Robotics Code/VCS/
21:40:57 -- info -- changed directory: C:/Users/michael.oconnor.19/AppData/Local/VEX 
Coding Studio/VEX Coding Studio/sdk/user/
21:40:57 -- info -- C:/Users/michael.oconnor.19/AppData/Local/VEX Coding Studio/VEX 
Coding Studio/sdk/user/
21:40:57 -- info -- file removed: C:/Users/michael.oconnor.19/AppData/Local/VEX Coding 
Studio/VEX Coding Studio/sdk/user/cxx.o
21:40:57 -- info -- clang version 5.0.1 (tags/RELEASE_501/final) 
Target: thumbv7-none--eabi 
Thread model: posix 
InstalledDir: C:\Program Files (x86)\VEX Robotics\VEX Coding 
Studio\node_modules\@modkit\modkit-compiler-binaries-windows\clang\bin 
 "C:\\Program Files (x86)\\VEX Robotics\\VEX Coding 
Studio\\node_modules\\@modkit\\modkit-compiler-binaries- 
windows\\clang\\bin\\clang.exe" -cc1 -triple armv7-none--eabi -emit-obj -disable-free - 
disable-llvm-verifier -discard-value-names -main-file-name cxx_entry.cpp -mrelocation- 
model static -mthread-model posix -mdisable-fp-elim -fmath-errno -no-integrated-as - 
mconstructor-aliases -nostdsysteminc -target-cpu generic -target-feature +soft-float-abi 
-target-feature -fp-only-sp -target-feature -d16 -target-feature +vfp3 -target-feature - 
fp16 -target-feature -vfp4 -target-feature -fp-armv8 -target-feature +neon -target- 
feature -crypto -target-feature +strict-align -target-abi aapcs -mfloat-abi soft -v -dwarf- 
column-info -debugger-tuning=gdb -ffunction-sections -fdata-sections -coverage- 
notes-file "C:\\Users\\michael.oconnor.19\\AppData\\Local\\VEX Coding Studio\\VEX 
Coding Studio\\sdk\\user\\cxx.gcno" -nostdinc++ -resource-dir "C:\\Program Files 
(x86)\\VEX Robotics\\VEX Coding Studio\\node_modules\\@modkit\\modkit-compiler- 
binaries-windows\\clang\\lib\\clang\\5.0.1" -D _LIBCPP_HAS_NO_EXCEPTIONS -D 
_LIBCPP_HAS_NO_THREADS -D VexV5 -I . -I ../clang/7.0.0/include -I ../vexv5/include -I 
../vexv5/gcc/include -I ../vexv5/gcc/include/c++/4.9.3 -I 
../vexv5/gcc/include/c++/4.9.3/arm-none-eabi/armv7-ar/thumb -I ../modkit -internal- 
isystem "C:\\Program Files (x86)\\VEX Robotics\\VEX Coding 
Studio\\node_modules\\@modkit\\modkit-compiler-binaries- 
windows\\clang\\lib\\clang\\5.0.1\\include" -internal-isystem include -Os -Wno-unknown- 
attributes -Werror=return-type -Wall -std=gnu++11 -fdeprecated-macro -fdebug- 
compilation-dir "C:\\Users\\michael.oconnor.19\\AppData\\Local\\VEX Coding 
Studio\\VEX Coding Studio\\sdk\\user" -ferror-limit 19 -fmessage-length 0 -fallow-half- 
arguments-and-returns -fno-rtti -fshort-enums -fno-signed-char -fno-threadsafe-statics 
-fobjc-runtime=gcc -fdiagnostics-show-option -vectorize-loops -vectorize-slp -o cxx.o -x 
c++ cxx_entry.cpp 
clang -cc1 version 5.0.1 based upon LLVM 5.0.1 default target i686-pc-windows-msvc 
ignoring nonexistent directory "C:\Program Files (x86)\VEX Robotics\VEX Coding 
Studio\node_modules\@modkit\modkit-compiler-binaries- 
windows\clang\lib\clang\5.0.1\include" 
ignoring nonexistent directory "include" 
ignoring nonexistent directory "C:\Program Files (x86)\VEX Robotics\VEX Coding 
Studio\node_modules\@modkit\modkit-compiler-binaries-windows\clang\lib\clang\5.0.1\include" 
#include "..." search starts here: 
#include <...> search starts here: 
 . 
 ../clang/7.0.0/include 
 ../vexv5/include 
../vexv5/gcc/include 
 ../vexv5/gcc/include/c++/4.9.3 
 ../vexv5/gcc/include/c++/4.9.3/arm-none-eabi/armv7-ar/thumb 
 ../modkit 

End of search list.
21:40:57 – info – make process failed with return code: 1

What is your actual code give us a little more context

Here is the code that I was messing with before the error occured, so I am assuming its due to this section.

//Starter GUI code
int AutonSelected = 0;//variable at global scope that is set to which auton is selected

bool Park = false;//wether the robot will park in auton

int width = 100;
int height = 75;
bool withinRangeTouch(int X, int Y){
return withinRange(Brain.Screen.xPosition(), X, X+width) && withinRange(Brain.Screen.yPosition(), Y, Y+height);
}

void drawCoOpBlue()
{
Brain.Screen.setFont(vex::fontType::mono30);
Brain.Screen.drawRectangle(260, 0, 60, 60, vex::color(4, 69, 112));
Brain.Screen.printAt(270, 15, “Bryant’s Blue”);
Brain.Screen.drawRectangle(160, 0, 60, 60, vex::color(0, 224, 224));
Brain.Screen.printAt(170, 15, “Smurf’s Blue”);
}
void drawCoOpRed(){
Brain.Screen.drawRectangle(260, 212, 60, 60, vex::color(255, 150, 155));
Brain.Screen.printAt(270, 15, “Bryant’s Red”);
Brain.Screen.drawRectangle(160, 212, 60, 60, vex::color(153, 39, 39));
Brain.Screen.printAt(170, 15, “Smurf’s Red”);
}
void drawCoOp(){
drawCoOpRed(); drawCoOpBlue();
}

void drawRed()
{
Brain.Screen.drawRectangle(1, 45, 60, 60, vex::red);//red squares
Brain.Screen.drawRectangle(1, 180, 60, 60, vex::red);
}
bool TouchingFrontRed(){
return withinRange(Brain.Screen.xPosition(), 1, 61) && withinRange(Brain.Screen.yPosition(), 45, 105);
}
bool TouchingBackRed(){
return withinRange(Brain.Screen.xPosition(), 1, 61) && withinRange(Brain.Screen.yPosition(), 180, 240);
}

void drawBlue()
{
Brain.Screen.drawRectangle(420, 45, 60, 60, vex::blue);//blue squares
Brain.Screen.drawRectangle(420, 180, 60, 60, vex::blue);
}
bool TouchingFrontBlue(){
return withinRange(Brain.Screen.xPosition(), 420, 480) && withinRange(Brain.Screen.yPosition(), 45, 105);
}
bool TouchingBackBlue(){
return withinRange(Brain.Screen.xPosition(), 420, 480) && withinRange(Brain.Screen.yPosition(), 180, 240);
}

void drawPark()
{
Brain.Screen.drawRectangle(120, 105, 80, 60, vex::red);//red parking
Brain.Screen.drawRectangle(200, 105, 80, 60, vex::yellow);//yellow parking
Brain.Screen.drawRectangle(280, 105, 80, 60, vex::blue);//blue parking
}
bool TouchingPark(){
return withinRange(Brain.Screen.xPosition(), 120, 360) && withinRange(Brain.Screen.yPosition(), 105, 165);
}

//width = 100, height = 75
int Rand = rand()%256;
void FrontRedMenu(){
Brain.Screen.clearScreen();
Brain.Screen.setPenColor(vex::color(66, 244, 223));
Brain.Screen.drawRectangle(0, 0, width, height, vex::transparent);
Brain.Screen.setPenColor(vex::white);
Brain.Screen.printAt(0+(width/2), 0+(height/2), “2 Flag, 2 Cap, Park”);

Brain.Screen.setPenColor(vex::color(66, 244, 223));
Brain.Screen.drawRectangle(100, 0, width, height, vex::transparent);
Brain.Screen.setPenColor(vex::white);
Brain.Screen.printAt(100+(width/2), 0+(height/2), "Bryant");

// Brain.Screen.setPenColor(vex::color(rand()%256, rand()%256, rand()%256));
Brain.Screen.drawRectangle(200, 0, width, height, vex::transparent);
Brain.Screen.setPenColor(vex::white);
Brain.Screen.printAt(100+(width/2), 0+(height/2), “Smurf”);
}
void FrontBlueMenu(){};
void BackRedMenu(){};
void BackBlueMenu(){};

void AutonSubMenu(){
switch(AutonSelected){
case -1:
FrontRedMenu();
break;
case -2:
FrontBlueMenu();
break;
case -3:
BackRedMenu();
break;
case -4:
BackBlueMenu();
break;
}
}

void AutonSelection()//method that draws the screen and checks for selection
{
Brain.Screen.render(true, true);
drawPark();
drawRed();
drawBlue();
while(AutonSelected == 0){
if(TouchingFrontRed()){
AutonSelected = -1;
}
else if(TouchingFrontBlue()){
AutonSelected = -2;
}
else if(TouchingBackRed()){
AutonSelected = -3;
}
else if(TouchingBackBlue()){
AutonSelected = -4;
}
vex::task::sleep(30);//small amount of time to prevent overtaxing of the limited processing power
}
AutonSubMenu();
}

Yeah I ran it on my laptop and I didn’t get any errors probably something with your laptop

yeah there isn’t anything actually wrong with your code those are just the program running in the compiler but its not actually giving any errors

Okay. Thanks for the help. That message was extraordinarily different than the standard compile message and it looked like what the VCS beta errors looked like.

You probably have link errors that VCS is not reporting, if you can post the .vex file we can let you know what the error is.

@Drow Hey, not a VIQ discussion, can we get this pushed to the right forum please?