Boost logo

Boost :

From: Dirk Gerrits (dirkg_at_[hidden])
Date: 2002-05-31 08:58:18


----- Original Message -----
From: "Neal D. Becker" <nbecker_at_[hidden]>

> My program links with the lib popt. To make this work, I use this
> signature for main:
>
> int main (int argc, const char** argv) (note the const)
>
> This causes a link failure if I try to use test/cpp_main.cpp:
> ...
> Any suggestions?

int main (int argc, char** argv_)
{
    const char** argv = argv_;
    ...
}

Perhaps?

Dirk Gerrits


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk