General Libraries question

This is a discussion on General Libraries question within the C++ Programming forums, part of the General Programming Boards category; I'm confused on why certain libraries work and some do not. Such as wxWidgets compiles, but Boost libraries gives failing ...

  1. #1
    Registered User
    Join Date
    Dec 2001
    Posts
    47

    General Libraries question

    I'm confused on why certain libraries work and some do not. Such as wxWidgets compiles, but Boost libraries gives failing errors on certain compilers. Is this due to low level code?

    MFC only works in VC while Windows code works with a lot of different windows compilers. I thought MFC was only a C++ wrapper for Win32 API's. If you had the MFC libraries why wouldn't it work on any compiler?

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,484
    > but Boost libraries gives failing errors on certain compilers. Is this due to low level code?
    It's mostly down to crap compilers.
    Boost pushes pretty hard on the compliance of the compilers with respect to the standards.

    > If you had the MFC libraries why wouldn't it work on any compiler?
    MFC written by M$
    VC++ written by M$
    How much effort do you think they put into making MFC work with any other compiler?
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. homework question - Standard Libraries
    By XodoX in forum C++ Programming
    Replies: 5
    Last Post: 02-25-2009, 10:56 AM
  2. General question
    By saudi-vip in forum C Programming
    Replies: 11
    Last Post: 10-10-2008, 04:46 PM
  3. general game hacks question
    By bluehead in forum C++ Programming
    Replies: 1
    Last Post: 04-06-2005, 07:03 PM
  4. general programming compatability question
    By Metarectilinear in forum A Brief History of Cprogramming.com
    Replies: 6
    Last Post: 10-25-2002, 11:51 PM
  5. general question regarding a function parameter
    By mlupo in forum C Programming
    Replies: 7
    Last Post: 10-13-2002, 07:32 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21