Home » U++ TheIDE » U++ TheIDE: Installation, Compiling and Running of theide » [BUG] TheIDE startup JPEG error
Re: [BUG] TheIDE startup JPEG error [message #25832 is a reply to message #25826] |
Sun, 14 March 2010 19:04   |
 |
mirek
Messages: 14255 Registered: November 2005
|
Ultimate Member |
|
|
Well, this is really weird, as:
bool PNGRaster::Init()
{
try {
if(!(data->png_ptr = png_create_read_struct(PNG_LIBPNG_VER_STRING,
NULL, png_user_error_fn, png_user_warning_fn)))
return false;
if(!(data->info_ptr = png_create_info_struct(data->png_ptr)))
return false;
png_set_read_fn(data->png_ptr, &GetStream(), png_read_stream);
png_read_info(data->png_ptr, data->info_ptr); <<--- line 113
return true;
}
catch(PngErrorException) {
return false;
}
}
So the last call from U++ is in try block, with catch provided....
So either I do not understand C++ exceptions well, or something is wrong with compiler? Perhaps it is not possible to catch exception over C code? (That would be pity, because I have switched from setjmp as it does not work in Win64...)
Mirek
|
|
|
 |
|
[BUG] TheIDE startup JPEG error
By: masu on Fri, 12 March 2010 18:26
|
 |
|
Re: [BUG] TheIDE startup JPEG error
By: masu on Fri, 12 March 2010 22:29
|
 |
|
Re: [BUG] TheIDE startup JPEG error
By: mirek on Sat, 13 March 2010 09:09
|
 |
|
Re: [BUG] TheIDE startup JPEG error
By: masu on Sun, 14 March 2010 13:51
|
 |
|
Re: [BUG] TheIDE startup JPEG error
By: masu on Sun, 14 March 2010 14:35
|
 |
|
Re: [BUG] TheIDE startup JPEG error
By: mirek on Sun, 14 March 2010 19:04
|
 |
|
Re: [BUG] TheIDE startup JPEG error
By: mdelfede on Sun, 14 March 2010 19:23
|
 |
|
Re: [BUG] TheIDE startup JPEG error
By: mirek on Sun, 14 March 2010 19:39
|
 |
|
Re: [BUG] TheIDE startup JPEG error
By: mirek on Sun, 14 March 2010 23:05
|
 |
|
Re: [BUG] TheIDE startup JPEG error
By: masu on Mon, 15 March 2010 12:27
|
Goto Forum:
Current Time: Sun Apr 27 19:38:28 CEST 2025
Total time taken to generate the page: 0.04258 seconds
|