Joseph S. Myers said:     (by the date of Mon, 26 Apr 2010 12:35:49 +0000 (UTC))

> If you wish to experiment with extended identifiers, use 
> -fextended-identifiers.  This only supports UCNs in identifiers, not 
> extended characters represented other than with UCNs.  Point 14 out of 15 
> on my list is support for actual UTF-8 in identifiers.

Thank you,

Currently I have gcc version 4.4.3 20100108 (prerelease)
(Debian 4.4.2-9), should use a newer version?

I suppose that "raw/real" UTF-8 will not work ;)
So how do I express UCN in the code?

Shorter question: how do I modify this code, to get it to work, and
actually use the -fextended-identifiers option:

// g++ -fextended-identifiers -o z z.cpp
#include<iostream>

int main()
{
        double Δ_velocity(0);
        std::cout << "Δ_velocity= " << Δ_velocity << "\n";
}

best regards
-- 
Janek Kozicki                               http://janek.kozicki.pl/  |

Reply via email to