#1893 Bision m4 -g (--gnu) option not recognized.

MSYS
open
current? (14)
Feature
none
Unknown
False
2013-02-15
2010-08-25
Anonymous
No

I try to compile latest gomingw (golang.org) using new msys - bison-2.4.2-1-msys-1.0.13.

But i got error m4: --gnu option not recognized.

http://gnuwin32.sourceforge.net/packages/bison.htm
in this bison-m4 there is another option witch is not available in msys.

m4 --help
...
Limits control:
-g, --gnu override -G to re-enable GNU extensions
-G, --traditional suppress all GNU extensions
...

best regards

Discussion

  • Charles Wilson
    Charles Wilson
    2010-09-08

    • labels: 380073 --> MSYS
     
  • Charles Wilson
    Charles Wilson
    2010-09-08

    The
    -G, --traditional suppress all GNU extensions
    option is available in m4-1.4.14, the current version shipped with m4. However, the
    -g, --gnu override -G to re-enable GNU extensions
    option was not added until m4-1.4.15.

    This is not a bug; it is a feature request that MSYS provide the latest version of m4. Moving to the Feature Request tracker.

     
  • Keith Marshall
    Keith Marshall
    2010-10-25

    Chuck,

    Are you sure that m4-1.4.14 doesn't support the --gnu option? It certainly doesn't elicit any complaint from the current MSYS release:

    $ m4 --version
    m4 (GNU M4) 1.4.14
    Copyright (C) 2010 Free Software Foundation, Inc.
    ...

    $ m4 --gnu
    ^D

    $ m4 --GNU
    m4: unrecognized option '--GNU'
    Try `m4 --help' for more information.

    $ m4 --help
    ...
    Limits control:
    -g, --gnu override -G to re-enable GNU extensions
    -G, --traditional suppress all GNU extensions
    ...

    Konrad,

    What MSYS version of m4 do you actually have installed? If it predates 1.4.14, then you need to upgrade, and we can close this ticket.

     
  • Earnie Boyd
    Earnie Boyd
    2013-02-15

    Ticket moved from /p/mingw/feature-requests/79/

     
  • Earnie Boyd
    Earnie Boyd
    2013-02-15

    • labels: MSYS --> current?
    • assigned_to: Charles Wilson
    • milestone: --> MSYS
    • type: --> Feature
    • resolution: --> none
    • category: --> Unknown
    • patch_attached: --> False