Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4562618
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T18:14:28+00:00 2026-05-21T18:14:28+00:00

EDIT: SOLVED! I added BOOST_ALL_NO_LIB to my Conditional defines and added the errorcode.cpp from

  • 0

EDIT: SOLVED!

I added BOOST_ALL_NO_LIB to my Conditional defines and added the errorcode.cpp from /libs/system/src/ folder to my Project.


I recently set up C++ Builder and been playing around with it to get my head around C++.

I need to use boost-asio for a project I will be working on, but I have come across a bit of a problem when just trying to include and compile it. I have set up the project include path and all as it should be (I can test by removing it and the compiler complains it can’t find asio.hpp, this is not the issue).

I have tried with 2 versions of Boost, 1_39 and 1_46, and I get different errors depending on the version used.

Ignore the warnings for starters, I guess. Also, if you want the full parser context from the errors, please let me know and I can post them.

1_39:

[BCC32 Warning] error_code.hpp(486):
W8104 Local Static with constructor
dangerous for multi-threaded apps

[BCC32 Warning] error.hpp(349): W8104
Local Static with constructor
dangerous for multi-threaded apps

[BCC32 Error] auto_link.hpp(262):
E2075 Incorrect pragma directive
option: -v

[BCC32 Error] static_log2.hpp(51):
E2451 Undefined symbol ‘n’

[BCC32 Error] static_log2.hpp(55):
E2451 Undefined symbol ‘value’

[BCC32 Error] static_log2.hpp(55):
E2230 In-line data member
initialization requires an integral
constant expression

[BCC32 Fatal Error]
static_log2.hpp(49): F1004 Internal
compiler error at 0x55a4e8d with base
0x5500000

1_46:

[BCC32 Warning] xutility(1808): W8017
Redefinition of ‘NOMINMAX’ is not
identical

[BCC32 Warning] stdint.h(168): W8017
Redefinition of ‘WCHAR_MAX’ is not
identical

[BCC32 Warning] win_tss_ptr.ipp(41):
W8012 Comparing signed and unsigned
values

[BCC32 Warning]
socket_select_interrupter.ipp(138):
W8012 Comparing signed and unsigned
values

[BCC32 Error] strand_service.hpp(31):
E2247
‘strand_service::do_complete(win_iocp_io_service
*,win_iocp_operation *,system::error_code,unsigned int)’ is not accessible

[BCC32 Warning]
strand_service.ipp(95): W8058 Cannot
create pre-compiled header:
initialized data in header

The source code doesn’t really matter, but regardless (removing the asio include, I have no trouble, obviously):

//---------------------------------------------------------------------------
#include <boost/asio.hpp>
#include <iostream>
//---------------------------------------------------------------------------

int main ()
{
    std::cout << "Test";
    std::cin.ignore();
    return 0;
}
//---------------------------------------------------------------------------

EDIT: SOLVED!

I added BOOST_ALL_NO_LIB to my Conditional defines and added the errorcode.cpp from /libs/system/src/ folder to my Project.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T18:14:29+00:00Added an answer on May 21, 2026 at 6:14 pm

    Solved as per the edit:

    I added BOOST_ALL_NO_LIB to my Conditional defines and added the errorcode.cpp from /libs/system/src/ folder to my Project.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

EDIT: Solved with a hack for now. Added at line 473: if (isset($this->_termsFreqs[$termId][$docId])) {
Edit : Solved, there was a trigger with a loop on the table (read
edit #2: Question solved halfways. Look below As a follow-up question, does anyone know
Edit: I have solved this by myself. See my answer below I have set
Edit: From another question I provided an answer that has links to a lot
[Edit] Solved, small mistake done by me being an ant beginner. In the test
EDIT: This problem has been solved. See below. Hey all. I'm building an iPhone
SOLVED: added some java to the Page 1 code to read the URL parameters
Edit: This question was written in 2008, which was like 3 internet ages ago.
EDIT: This was formerly more explicitly titled: - Best solution to stop Kontiki's KHOST.EXE

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.