From: Hans-Bernhard Broeker Newsgroups: comp.os.msdos.djgpp Subject: Re: Problems with memset modules Date: 28 Apr 2000 11:09:45 GMT Organization: Aachen University of Technology (RWTH) Lines: 21 Message-ID: <8ebrhp$91s$1@nets3.rz.RWTH-Aachen.DE> References: <399igsc6er2tpntpcruaqh1jrear1805vc AT 4ax DOT com> NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de X-Trace: nets3.rz.RWTH-Aachen.DE 956920185 9276 137.226.32.75 (28 Apr 2000 11:09:45 GMT) X-Complaints-To: abuse AT rwth-aachen DOT de NNTP-Posting-Date: 28 Apr 2000 11:09:45 GMT Originator: broeker@ To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Yoni Vila wrote: > gcc -Wall -02 -c hmm_mem.cc > hmm_mem.cc: In method 'logical_1 Hmm::allocate_cc(long int, long > int)': > hmm_mem.cc:145: implicit declaration of function 'int memset(...)' > make.exe: *** [hmm_mem.o] Error 1 > Seems that this is due to the memset module that it's supposed to be > present in Djgpp directory. Actually, it's due to your C++ source not properly #include'ing the header file that tells the compile what 'memset()' is. Add #include somewhere near the beginning of the source file and this should be gone. -- Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) Even if all the snow were burnt, ashes would remain.