Atozed Forums
Bootstrap compile error - Printable Version

+- Atozed Forums (https://www.atozed.com/forums)
+-- Forum: Atozed Software Products (https://www.atozed.com/forums/forum-1.html)
+--- Forum: IntraWeb (https://www.atozed.com/forums/forum-3.html)
+---- Forum: English (https://www.atozed.com/forums/forum-16.html)
+----- Forum: IntraWeb General Discussion (https://www.atozed.com/forums/forum-4.html)
+----- Thread: Bootstrap compile error (/thread-717.html)



Bootstrap compile error - JuergenS - 10-07-2018

Hi,

i just tried the bootstrap example from Loren and it's running with Delphi XE6.

But if i try to create a simple bootstrap project with just a region and a button i receive the following error:

[bcc32 Error] IWBSCustomControl.hpp(143): E2303 typname expected
  complete Parser-Context
    Unit1.cpp(6): #include Unit1.h
    Unit1.h(23): #include C:\IntraWeb 15\LibD10_2W32\IWBSButton.hpp
    IWBSButton.hpp(25): #include C:\IntraWeb 15\LibD10_2W32\IWBSCustomControl.hpp
    IWBSCustomControl.hpp(42): namespace Iwbscustomcontrol
    IWBSCustomControl.hpp(47): class TIWBSCustomControl
    
    __property OnHTMLtag;
   
I'm using:

    C++Builder 10.2.3
    IW 15.0.12

Thanks for any help
JuergenS


RE: Bootstrap compile error - ShaneStump - 10-07-2018

Howdy Juergen,

I had same problem as I always do on some C++ Builder created packages from Delphi sources.

Just comment it out and rebuild.

All the best,

Shane


RE: Bootstrap compile error - JuergenS - 10-08-2018

Hi Shane,
thanks for your help.
Juergen


RE: Bootstrap compile error - Alexandre Machado - 10-08-2018

Please change this:

OnHTMLtag

into this:

OnHTMLTag

in IWBSCustomControl.hpp file

note the uppercase T in the second line.

This is a typo in IWBS source code which doesn't make any difference in Delphi but certainly doesn't work in C++ Builder.


RE: Bootstrap compile error - JuergenS - 10-08-2018

Hi Alexandre,
thanks for your response
Juergen