Re: [twsocket] ICS V7 and D2010 mess up with RTTI
Eric Fleming Bonilha wrote: > I also think that having the NO_EXTENDED_RTTI option is good, but, > maybe you should not define it by default, Done, it's available in both SVN repository and the nightly build ZIP package at: http://wiki.overbyte.be/wiki/index.php/FAQ#How_to_get_ICS. -- Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] ICS V7 and D2010 mess up with RTTI
I also think that having the NO_EXTENDED_RTTI option is good, but, maybe you should not define it by default, because some projects that relies on RTTI can break because of this bug in D2010 compiler, because it is propagating the flag to all units that are compiled after one unit with the {$RTTI...} flag..., this is sure a bug in the compiler Eric - Original Message - From: "Arno Garrels" To: "ICS support mailing" Sent: Thursday, November 05, 2009 4:01 PM Subject: Re: [twsocket] ICS V7 and D2010 mess up with RTTI Eric Fleming Bonilha wrote: So, in theory, your library is correctly programmed, but I don´t know why, this is propagating to my whole software and disabling RTTI for all my Record types!!! Have you ever seen this problem? Not yet, I haven't had the time to play with the new RTTI. If it makes problems then we probably should not define NO_EXTENDED_RTTI by default. EXE size doesn't benefit very much from this directive (tested with {$WEAKLINKRTTI ON}), however I think this option is nice to have anyway. -- Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] ICS V7 and D2010 mess up with RTTI
Eric Fleming Bonilha wrote: > > So, in theory, your library is correctly programmed, but I don´t know > why, this is propagating to my whole software and disabling RTTI for > all my Record types!!! > > Have you ever seen this problem? Not yet, I haven't had the time to play with the new RTTI. If it makes problems then we probably should not define NO_EXTENDED_RTTI by default. EXE size doesn't benefit very much from this directive (tested with {$WEAKLINKRTTI ON}), however I think this option is nice to have anyway. -- Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
[twsocket] ICS V7 and D2010 mess up with RTTI
Hi, I had a very strange problem with your library v7 and Delphi 2010. My software relies too much on RTTI for Record data, and (After loosing a whole day trying to find out why it was happening) I found that your library sets NO_EXTENDED_RTTI directive as Default wich sets {$RTTI EXPLICIT METHODS([]) FIELDS([]) PROPERTIES([])}. But strangely, this $RTTI directive is propagating to the whole project (Including MY PROJECT FILES...), maybe to some bug in Delphi 2010 I have found the following comments from a blog: http://wings-of-wind.com/2009/09/03/community-pulse-coderage-4-rtti-reloaded/ "The size of the exe file will increase due of new RTTI info. The grow percentage usually isn't significant, but for the developers which are very sensible to their application size there are some tools to reduce the code size: {$WEAKLINKRTTI ON} and {$RTTI EXPLICIT METHODS([]) FIELDS([]) PROPERTIES([])} - we must note that the latter compiler directive disables the new RTTI only for the types (classes, records etc.) declared in the unit where you put it, so including it only once at the top of one unit is not enough. You need to add it to the top of every unit that declare types in addition to {$WEAKLINKRTTI ON}. Of course, if you want to strip out this info from VCL you must recompile it." So, in theory, your library is correctly programmed, but I don´t know why, this is propagating to my whole software and disabling RTTI for all my Record types!!! Have you ever seen this problem? Thanks Eric -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be