On a side::note could you tell us what the autocomplete for boost is like under xcode (once you solve the problem :D ) for boost once you have it working.

On Thu, Sep 3, 2009 at 10:36 AM, Vladimir Prus <vladimir@codesourcery.com> wrote:
Christopher Jefferson wrote:

>
> On 2 Sep 2009, at 23:18, James C. Sutherland wrote:
>
>> This probably won't help you, but there has been noise on two other
>> mailing lists I monitor (CMake being one) that suggest people are
>> having similar problems.  It seems that Snow Leopard (and the new
>> GCC compiler bundled with it) defaults to 64 bit treatment or
>> something.
>
> That is exactly true. If you want to force 32-bit executables, you can
> give the -m32 flag (similarly, there is a -m64 flag for 64-bit).
>
> However, you can't just special-case snow leopard, because there is a
> number of 32-bit intel macs, on which you can install snow leopard,
> which themselves will default to 32-bit executables!
>
> The only (sane) method I've found to solve this is to do one of two
> things.
>
> 1) Just use the system setting.
> 2) Explicitly specify -m32 and -m64 on all systems.

Just to clarify, what is the reason of the original error, quoted below?

>>>> /usr/include/time.h:77: error: expected constructor, destructor,
>>>> or type conversion before ‘typedef’
>>>> /usr/include/time.h:124: error: ‘clock_t’ does not name a type
>>>> In file included from /usr/include/c++/4.2.1/cwchar:52,
>>>>               from /usr/include/c++/4.2.1/bits/postypes.h:46,
>>>>               from /usr/include/c++/4.2.1/iosfwd:49,
>>>>               from /usr/include/c++/4.2.1/bits/stl_algobase.h:70,
>>>>               from /usr/include/c++/4.2.1/bits/char_traits.h:46,
>>>>               from /usr/include/c++/4.2.1/string:47,
>>>>               from ./boost/program_options/errors.hpp:12,
>>>>               from ./boost/program_options/options_description.hpp:
>>>> 12,
>>>>               from libs/program_options/src/
>>>> options_description.cpp:10:

Is  32_64 fat compilation just broken?

- Volodya



_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users