Need help with an error message

Hi i have been programming for a short time and i keep on getting the same error with each time i try to run this simple program.

// my first program in c++

#include <iostream>

using namespace std;

int main ()
{
cout <<"Hello World" endl;
return 0;
}

Every time i compile and run i get this message
.drectve `-aligncomm:"___hexdig_D2A",5' unrecognized

What do i need to do to get rid of this message because i have search all over the internet for a solution but i have not found one.
cout <<"Hello World" <<endl;
even when i do that it still comes up with the same message
Topic archived. No new replies allowed.