Watch, Follow, &
Connect with Us

Please visit our new home
community.embarcadero.com.


Welcome, Guest
Guest Settings
Help

Thread: How to recompile Boost libraries with different compiler flags?


This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 1 - Last Post: Jun 23, 2017 8:15 AM Last Post By: Andrew Bond Threads: [ Previous | Next ]
Andrew Bond

Posts: 183
Registered: 3/8/00
How to recompile Boost libraries with different compiler flags?  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jun 8, 2017 10:34 AM
I understand from this web post:

http://www.devsuperpage.com/search/Articles.aspx?G=2&ArtID=83357

that the Boost libraires that come with C++Builder have been built with the Integer-sized Enum flag set to OFF (i.e. BCC32 flag -bi-).

Can anyone confirm if this is true?

Since my DLLs, EXEs, and thrird-party packages are all compiled with default settings (Integer-sized Enum flag set to ON, i.e. BCC32 flag -bi), I need to recompile the supplied Boost libraries with that flag changed.

Does anyone know the best way to do this?

I cannot find a way to change the default setting for this flag in ALL projects.

I am using C++Builder 10.1 Berlin.

Thanks in anticipation.

Andrew

PS This would also be helpful to ovecome a problem with the C++Builder 10.2 Tokyo supplied Boost libraires, which have been compiled (by Embarcadero) with the Memory Manager from Berlin not Tokyo! See QC Report RSP-18123
Andrew Bond

Posts: 183
Registered: 3/8/00
Re: How to recompile Boost libraries with different compiler flags?  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jun 23, 2017 8:15 AM   in response to: Andrew Bond in response to: Andrew Bond
Bump - does anyone know the answer to this question?
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02