Angus Leeming <[EMAIL PROTECTED]> writes:

| On Thursday 21 November 2002 8:47 pm, Lars Gullik Bjønnes wrote:
>> Angus Leeming <[EMAIL PROTECTED]> writes:
>> | any ideas Lars?
>>
>> yes. I was kindo expecting this.
>>
>> I guess that we will only be able to have explicit extantiation for
>> gcc, unless you can tell me the correct syntax for cxx.
>
| Lars, if I change BoostFormat.h to this:
>
| namespace boost {
| extern basic_format<char>;
| } // namespace boost
>
| I get:
>
| cxx -std strict_ansi formulamacro.C
| cxx: Warning: ../../../src/mathed/../BoostFormat.h, line 13: #64-D declaration
|           does not declare anything
| extern basic_format<char>;
| ^
| cxx: Error: ../../../src/mathed/../BoostFormat.h, line 13: #1275-D a storage
|           class may not be specified here
| extern basic_format<char>;
| ^
>
| This, however, compiles. Will it achieve your goal?

Run "nm" on biblio.o and see how the boost::format objects are stored.
They should be 'U'.

-- 
        Lgb

Reply via email to