bug-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

internal compiler error!


From: Xin Chen
Subject: internal compiler error!
Date: Tue, 31 Dec 2002 16:53:36 -0800

Hi,
 
I have a compiling error as the following.
 
address@hidden sqlTokenCompress]$ make
g++  -I/usr/include/mysql -D_THREAD_SAFE -D_REENTRANT -static  tokencompress.cpp  -L/usr/lib/mysql -lmysqlclient -lz -lm -lcrypt -Lpthread -o tokencompress
bitbuffer.c: In function `struct BIT_BUFFER * OpenOutputBitBuffer(unsigned char *, int)':
In file included from tokencompress.cpp:27:
bitbuffer.c:20: Internal compiler error.
bitbuffer.c:20: Please submit a full bug report to address@hidden'.
bitbuffer.c:20: See <URL:http://egcs.cygnus.com/faq.html#bugreport> for details.
make: *** [tokencompress] Error 1
address@hidden sqlTokenCompress]$
 
 
 
The line 20 in bitbuffer.c is
 
...
#include "bitbuffer.h"
 
BIT_BUFFER * OpenOutputBitBuffer(unsigned char *OutputBuffer,int BufferSize)
{
        BIT_BUFFER *bit_buffer;
 
    bit_buffer = (BIT_BUFFER *) calloc( 1, sizeof( BIT_BUFFER ) );
    if( bit_buffer == NULL ) return  bit_buffer;                     <-------  Line 20
        
        bit_buffer->buffer=OutputBuffer;
        bit_buffer->size=BufferSize;
    bit_buffer->rack = 0;  
    bit_buffer->mask = 0x80;
    bit_buffer->pacifier_counter = 0;
   
    return( bit_buffer );
}
 
BIT_BUFFER * OpenInputBitBuffer(unsigned char *InputBuffer,int BufferSize)
{
 ......
 
How can I fix this problem? Thank you very much!
 
Xin

reply via email to

[Prev in Thread] Current Thread [Next in Thread]