Boost logo

Boost :

From: Beman Dawes (bdawes_at_[hidden])
Date: 2002-08-12 15:56:22

At 02:04 PM 8/12/2002, Gennadiy Rozental wrote:

>> One oddity that has affected several libraries, but not threads, is
>> Intel and VC++ 7.0 get link failures if test_main is defined like this:
>> int test_main(int,char**)
>> I've just been changing those to
>> int test_main(int,char*[])
>> which works fine.
>Yeh. I should have mention that in note. I also remarked this behaviour
>some compilers. I did not find other fix, but just follow in test modules

>test_main specification that is in the library. Do you have other
>propositions? I could change it in library to first form, but that I
>will cause second to fail. Though I will try.

I personally don't have any problem requiring people use the

    int test_main(int,char*[])

As Bill Kempf already suggested, it might be nice to find out what the
standard says, but the work around is so simple I don't think we should
worry a great deal about it now. Let's clear the other issues first.

But maybe you should note the issue in the docs if you haven't done so



Boost list run by bdawes at, gregod at, cpdaniel at, john at