Board index » cppbuilder » Limitations considering the size of a header file
Martin Rupprech
![]() CBuilder Developer |
Sun, 26 Sep 2004 17:26:31 GMT
|
Martin Rupprech
![]() CBuilder Developer |
Sun, 26 Sep 2004 17:26:31 GMT
Limitations considering the size of a header file
Hi,
if the header file of my TLabel's derived class, covering several Many thanks for every possible help. |
Pete Frase
![]() CBuilder Developer |
Sun, 26 Sep 2004 18:27:25 GMT
Re:Limitations considering the size of a header fileThis message is normally given if you have an #if xxx without a matching #endif You should check that all #ifs are matched - see the lin number mentioned for the starting #if HTH Pete GenHelp: The Component Writers Help Authoring package Team Thai Kingdom ================================= Web: www.frasersoft.net Quote"Martin Rupprecht" <mruppre...@softec.de> wrote in message Quote> Hi, |
Martin Rupprech
![]() CBuilder Developer |
Sun, 26 Sep 2004 20:05:58 GMT
Re:Limitations considering the size of a header fileHi Pete, you are right. But there is a matching #endif at the end of my header //------------------------------------------------------------------------- In my case, when the number of lines between #ifndef and #endif exceeds Martin > "Martin Rupprecht" <mruppre...@softec.de> wrote in message >>Hi, >>if the header file of my TLabel's derived class, covering several >>Many thanks for every possible help. |
Pete Frase
![]() CBuilder Developer |
Sun, 26 Sep 2004 21:31:38 GMT
Re:Limitations considering the size of a header fileI have an include file of 900 lines that works OK so I guess it's a problem with your file. Do your files have CRLFs in them or are they just LF (like unix) Borland used to have problems with this. HTH Pete Quote"Martin Rupprecht" <mruppre...@softec.de> wrote in message Quote> Hi Pete, - Quote> // Borland C++Builder - Quote- Quote> #ifndef auto1H - Quote> #include <Classes.hpp> - Quote> class TForm1 : public TForm - Quote> extern PACKAGE TForm1 *Form1; - Quote> #endif |
Martin Rupprech
![]() CBuilder Developer |
Sun, 26 Sep 2004 22:30:40 GMT
Re:Limitations considering the size of a header fileI'am working with Win 98SE so I think the file has CRLFs in it. Martin QuotePete Fraser wrote: |
Memory Sof
![]() CBuilder Developer |
Mon, 27 Sep 2004 00:22:32 GMT
Re:Limitations considering the size of a header fileJust for the record, if you import the Excel ActiveX control the header file is some 10Mb!! Martin. "Martin Rupprecht" <mruppre...@softec.de> escribi en el mensaje Quote> Hi, |
Craig Farrel
![]() CBuilder Developer |
Mon, 27 Sep 2004 05:54:02 GMT
Re:Limitations considering the size of a header fileHi, Quote> get, when compiling, the error message "unexpected end of file in size, and was open in the IDE edit buffer, then due to the way that chunks of the edit buffer were handed to the compiler, then the conditional defining the header sentinel would not be seen correctly and there would be infinite self-inclusion of the header. Workaround would be to close the header from the Code Editor. Or I *think* adding some blocks of single-line comments might help. Or avoid the recursive inclusion of the header. --Craig |
Martin Rupprech
![]() CBuilder Developer |
Tue, 28 Sep 2004 18:57:27 GMT
Re:Limitations considering the size of a header fileHi Craig, you are right, in the header there is a self-inclusion. Originally I Thanks Martin QuoteCraig Farrell wrote: |