From: fsnijder AT elektron DOT et DOT tudelft DOT nl (FIM) Newsgroups: comp.os.msdos.djgpp Subject: Problem compiling large m-files with DJGPP Date: Fri, 28 Mar 97 16:27:19 GMT Organization: Delft University of Technology Lines: 47 Message-ID: <5hgrcu$77p$1@news.tudelft.nl> NNTP-Posting-Host: dokov.et.tudelft.nl To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp I encoutered the following strange problem : when compilling a large function m-file the compiller gives : to many arguments to function ....... when I make the function m - file shorter by deleting a fair amount of code (the functionality is gone but it works) the compiling is succesfull. Inspecting the cpp file of the lare function m-file it suddenly ends : . . . . if (istrue(j1!=nop_M)) { dy_dwoutr((j3-1.0)*swoutr(1.0)+alpha,swoutr(2.0)+(i-1.0)*swoutr(\ 2.0)*2.0+beta)=(transpose(woutff(c_p,j3))*doff1_dwoutr((BR(j1-1.0)\ )*swoutr(1.0)+alpha,1.0*swoutr(2.0)+(i-1.0)*swoutr(2.0)*2.0+beta)\ +transpose(woutr(c_p,j3))*dor_dwoutr((Irout-1.0)*swoutr(1.0)+alpha,\ swoutr(2.0)+(i-1.0)*swoutr(2.0)*2.0+beta)); doff1_dwoutr((j1-1.0)*swoutr(1.0)+alpha,(i-1.0)*swoutr(2.0)*2.0+beta)\ =doff1_dwoutr((j1-1.0)*swoutr(1.0)+alpha,1.0*swoutr(2.0)+(i-1.0)\ *swoutr(2.0)*2.0+beta); } else { dy_dwoutr((j3-1.0)*swoutr(1.0)+alpha,swoutr(2.0)+(i-1.0)*swoutr(\ 2.0)*2.0+beta)=(transp)*J; ! <=sudden end of file! after "=" something else then "(transp)*J" is present in real m-file it seems that the m-file to c translation is incomplete. (I'm running dmatcom in a dos window under win95) what is going wrong? Can anybody help me?! Thank you, Freddy Snijder. PS.: is it normal that compilling an to c translated m-file of about 300 lines takes two hours? (It finishes succesfully) Could it be that I have an memory poblem. I have 48 Mb installed but maybe DJGPP is set to use only the dos 640 Kb?!