Meaning of Error Code 2118292091

CodeLite installation/troubleshooting forum
julianloui
CodeLite Curious
Posts: 4
Joined: Mon Nov 05, 2012 6:55 am
Genuine User: Yes
IDE Question: C++
Contact:

Meaning of Error Code 2118292091

Post by julianloui »

When I try to compile the example below, I get an ambiguous error message. Can you help me decode it? Thank you very much. Julianloui
..........................................................
Current working directory: c:\test
Running program: le_exec.exe ./test
Program exited with return code: 2118292091
..........................................................
#include <iostream>
using namespace std;

main()
{
cout << "This is a null program.";
cout " \n";
}
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Meaning of Error Code 2118292091

Post by eranif »

Your executable terminated with an undefined error code.
Usually 'main' function should return an integer, does the below code compiles?

Please use this post to provide more information

http://forums.codelite.org/viewtopic.php?f=3&t=804

Eran
Make sure you have read the HOW TO POST thread
julianloui
CodeLite Curious
Posts: 4
Joined: Mon Nov 05, 2012 6:55 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: Meaning of Error Code 2118292091

Post by julianloui »

Eran,

I don't see any code in your reply. Do you want me to look for it elsewhere?

Julian
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Meaning of Error Code 2118292091

Post by eranif »

julianloui wrote:I don't see any code in your reply. Do you want me to look for it elsewhere?
I meant the code snippet you pasted

In addition:
http://forums.codelite.org/viewtopic.php?f=3&t=804

Eran
Make sure you have read the HOW TO POST thread
julianloui
CodeLite Curious
Posts: 4
Joined: Mon Nov 05, 2012 6:55 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: Meaning of Error Code 2118292091

Post by julianloui »

I can compile my code snippet under GNU C++ and run the output without any trouble, but not under Codelite as I've indicated in my original report. I fail to decipher the meaning of the error code. What does it mean? Where does it come from? Thanks.

Julian
User avatar
Jarod42
CodeLite Expert
Posts: 240
Joined: Wed Sep 30, 2009 5:54 pm
Genuine User: Yes
IDE Question: C++
Location: France
Contact:

Re: Meaning of Error Code 2118292091

Post by Jarod42 »

return code is different than error code.

your code doesn't specify any return code.
try

Code: Select all

int main()
{
    cout << "This is a null program." << endl;
    return 0;
}
Also, check the 'pause when execution ends' (in project settings) to be able to see the console output.
julianloui
CodeLite Curious
Posts: 4
Joined: Mon Nov 05, 2012 6:55 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: Meaning of Error Code 2118292091

Post by julianloui »

How can I post a screenshot at this website? I've just done a Codelite compilation with your code snippet and I am getting the same error message with the same error code. I wish I could inculde a snapshot of the screen for you to look at. Thanks again.

Julian
Post Reply