Telling Eclipse that the C dialect is c99 (-std=c99) solved the problem.
The macro is now recognized.
On Aug 3, 2015 4:00 AM, "Maris Nartiss" <[email protected]> wrote:

> Some examples on _() and n_() use are in locale/README file.
> https://svn.osgeo.org/grass/grass/trunk/locale/README
>
>
> 2015-08-03 0:32 GMT+03:00 Markus Neteler <[email protected]>:
> > On Sun, Aug 2, 2015 at 10:25 PM, Nikos Alexandris
> > <[email protected]> wrote:
> > ...
> >> Is this relevant to python (scripts) as well?
> >
> > Yes, e.g.
> >
> > [neteler@oboe r.unpack]$ grep message *
> > r.unpack.py:    grass.message(_('Raster map <{name}>
> > unpacked'.format(name=map_name)))
> >
> > I added a hint here:
> >
> http://grasswiki.osgeo.org/wiki/GRASS_messages_translation#Python_programming_language
> >
> > Markus
> > _______________________________________________
> > grass-dev mailing list
> > [email protected]
> > http://lists.osgeo.org/mailman/listinfo/grass-dev
> _______________________________________________
> grass-dev mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/grass-dev
>
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to