Boost logo

Boost :

From: Fernando Cacciola (fcacciola_at_[hidden])
Date: 2001-10-31 14:20:23


Daryle,

thanks for your cooperation!

----- Original Message -----
From: Daryle Walker <darylew_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Wednesday, October 31, 2001 1:31 PM
Subject: [boost] Re: Quick look at improved_numeric_cast

> on 10/30/01 11:48 AM, Fernando Cacciola at fcacciola_at_[hidden] wrote:
>
> [SNIP]
>
> The comment blurbs at the beginning of your files have a different line
> ending character set than the rest of their files, making my IDE give
> inconsistent line ending errors. Check that out on your own editor. It
> does cause some problems with locating errors and with the first #if of a
> file being part of the initial comments.
>
Good catch!
Yes, I was able to see those characters with the Windows notepad.

> The strange comma problem is still there. My compiler says:
>
> Error : ',' expected
> meta_programing_tools.hpp line 90 static const bool value = ( X::value <
> Y::value )
>
> Where the line is:
>
> BOOST_STATIC_CONSTANT ( bool, value = ( X::value < Y::value ) ) ;
>
> And the space before the semicolon is highlighted. Either my compiler has
a
> serious parser error, or you forgot something earlier in your code. (I
> originally had the error on line 79 on the first colon after the "Y," but
> the line-ending fix moved the mark.)
>
Strange...,

I looked at some of the boost headers to see if there are similar
constructs.
I prepared a small test bed that I hope will show the problem with your
compiler; but since I don't have it, I will need your help to run it.

I attached a test.cpp file to this message.
It consist of 4 different variations of the LESS<> struct.
There is a 'CHOICE' macro at the beggining that you can set to the values
1,2,3 or 4.
It is defaulted to 1.

I expect that you get the same error with CHOICE 1, but that it go away with
some of the variations.

Whenever you can, could you check this out, please?

Thank you very much.

Fernando Cacciola
Sierra s.r.l.
fcacciola_at_[hidden]
www.gosierra.com

>
> I also still get the internal compiler error:
>
> Error : internal compiler error: File: 'CTemplateTools.c' Line: 1553
> numeric_cast_traits_detail.hpp line 71 type ;
>
> with the semicolon highlighted.
>
> --
> Daryle Walker
> Mac, Internet, and Video Game Junkie
> darylew AT mac DOT com
>
>
> Info: http://www.boost.org Unsubscribe:
<mailto:boost-unsubscribe_at_[hidden]>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>




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