[sword-devel] SWORD 1.7.0RC2
Troy A. Griffitts
scribe at crosswire.org
Tue Aug 6 06:05:35 MST 2013
For example, consider the following code:
class Q_CORE_EXPORT QString
{
public:
...
#ifndef QT_NO_REGEXP
int indexOf(const QRegExp &, int from = 0) const;
int lastIndexOf(const QRegExp &, int from = -1) const;
inline QBool contains(const QRegExp &rx) const { return
QBool(indexOf(rx) != -1); }
int count(const QRegExp &) const;
int indexOf(QRegExp &, int from = 0) const;
int lastIndexOf(QRegExp &, int from = -1) const;
inline QBool contains(QRegExp &rx) const { return QBool(indexOf(rx)
!= -1); }
#endif
...
If this library was compiled with QT_NO_REGEXP defined, and you include
this header file in your project and build without QT_NO_REGEXP defined,
then your .o files will expect different vtables than what are provided
by the compiled library.
On 08/06/2013 02:37 PM, Jaak Ristioja wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 06.08.2013 14:54, Troy A. Griffitts wrote:
>> Remember, just because you compile and link doesn't mean you've
>> successfully build your app against the exact state of the headers
>> when the library was compiled and this can be dangerous.
> Can you please be more specific about this danger?
>
> Blessings,
> Jaak
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.20 (GNU/Linux)
>
> iQgcBAEBAgAGBQJSAO4VAAoJEEqsYmEt1rCOFsI//3EZpmRSfmleQlAU0/myrO+7
> J9myjJrWzI2ysELx6Urb6u/ErufIjakyg+YWyd9ftJ40DMtBa4goVmP0SYsg3vfv
> 2NwESFdJhVEYWlNZqVcW+2utH0dDpCbPY4sovDUF6Xrum3fnDxeiuIc55Pf2HOrF
> TlpK6lShxA0sSd3+VsYmvbhW0zVfMt8Fjr5yM6t0rc7FSwWp5eni1W13/wmoK6l+
> cbTsHDEbf7oWdynonxVZag3uewpAdXIzJ0r7gZ0+sRKvQCwqRBlAclJFGL/feUjS
> jhGbtsnSjCKvfpKojfWzvgsaw100yHcVDjBFni4ubwEv/XpvHaNoh126G7x929ln
> 65YVOHBZVVbSdGU6PpVn/GC8X7WT/VT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ExF9elN0wXhoIi+s9c5h36aU/
> S1arxeReDQzE0kvjSaCnkO5TnH9CnwNgxZgnYxwxP8HpmNTVi+f9eM9rBzVxqUUZ
> Gq6nQSHYzEm4oTb+lCPUEfkhJ9Z2SXsGC/4v4Xd/O1HjKgzSeM0GNzo9XyoQ1yvu
> 9L1AqHxNd8w+k+AAmN3DFSYQfFFkD+xpw6PA/+E4rABTnDQCmV2lxRKCLwlRTSEZ
> ZKjvl8KrSV8R7xLh+9W7Qad3ocUxfMghVL8B8VXua/n86R7QhaezqVjSYGKeZTj/
> 2JE7e7HORaYbSP/f+NqW
> =I6Gb
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page
More information about the sword-devel
mailing list