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";
}
Meaning of Error Code 2118292091
-
- CodeLite Curious
- Posts: 4
- Joined: Mon Nov 05, 2012 6:55 am
- Genuine User: Yes
- IDE Question: C++
- Contact:
- 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
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
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
-
- 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
Eran,
I don't see any code in your reply. Do you want me to look for it elsewhere?
Julian
I don't see any code in your reply. Do you want me to look for it elsewhere?
Julian
- 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
I meant the code snippet you pastedjulianloui wrote:I don't see any code in your reply. Do you want me to look for it elsewhere?
In addition:
http://forums.codelite.org/viewtopic.php?f=3&t=804
Eran
Make sure you have read the HOW TO POST thread
-
- 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
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
Julian
- 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
return code is different than error code.
your code doesn't specify any return code.
try
Also, check the 'pause when execution ends' (in project settings) to be able to see the console output.
your code doesn't specify any return code.
try
Code: Select all
int main()
{
cout << "This is a null program." << endl;
return 0;
}
-
- 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
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
Julian