This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Well, I was told to do this... ;))



G' day everybody !

The following outputs forced <g> me to write you this
mail. I don't know if it's right or wrong, but I guess, if 
it's wrong somebody will tell me, right ??

OK, I qoute here the output and the specified part of my 
source code:

>readjpeg.c: In function `bool check_jpeg(class ifstream &)':
>readjpeg.c:99: Internal compiler error.
>readjpeg.c:99: Please submit a full bug report to `ecgs-bugs@cygnus.com'.

Well and here the part  of my sourcecode:

>bool check_jpeg(ifstream& infile)
>{
>  int c1, c2;
>  
>  c1 = infile.get();
>  c2 = infile.get();
>  
>  if (!((c1 == 0xff) && (c2 == 0xd8))) 
>    error("This is not a jpeg file");
>
>  return true;
>}

I hope this will help somebody somewhat. If not I regret
having disturbed you...

yours 

Sebastian

-- 

Sebastian Hamann	hamann@dipa.de

I S P

International Service Provider LTD.
Eimsbuettler Strasse 64 A
22769 Hamburg
Germany


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]