bug-glpk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-glpk] v4.15 - gcc warns about trigraphs


From: Robbie Morrison
Subject: [Bug-glpk] v4.15 - gcc warns about trigraphs
Date: Tue, 6 Mar 2007 22:37:06 +0300

Hello GLPK bug list

A very minor issue with 4.15.  I didn't supply a patch because
hand editing would be as fast.

best wishes to all
Robbie

ISSUE

date     : 06-Mar-2007
summary  : gcc warns about possible trigraphs when building libs/glplpx14.o
severity : trivial for gcc, sightly more significant on compilers where
           trigraphs are enabled by default
src file : src/glplpx14.c
fix      : replace message string "(???)" with "(\?\?\?)" in five places
explain  : the sequence ??) will stand for ] if trigraphs are enabled

SUBMITTER

name         : Robbie Morrison <address@hidden>
institution  : Technical University of Berlin (TU-Berlin), Germany
background   : PhD student -- policy-oriented energy system simulation

BUILD CONTEXT

GLPK version : 4.15
tarfile      : glpk-4.15.tar.gz
compiler     : gcc (GCC) 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)
system       : Ubuntu GNU/Linux 6.10 (edgy) / i386 / 2.6.17-11-generic
hardware     : Toshiba Tecra A2 330 / Intel Celeron M 1.4 GHz / RAM 512 MiB
key pkgs     : build-essential (version 11.3)

COMPILER WARNINGS

 gcc -DHAVE_CONFIG_H -I. -I.. -I../include -g -O2 -MT glplpx14.lo -MD -MP \
   -MF .deps/glplpx14.Tpo -c glplpx14.c  -fPIC -DPIC -o .libs/glplpx14.o
glplpx14.c:1411:47: warning: trigraph ??) ignored, use -trigraphs to enable
glplpx14.c:2927:47: warning: trigraph ??) ignored, use -trigraphs to enable
glplpx14.c:3184:47: warning: trigraph ??) ignored, use -trigraphs to enable
glplpx14.c:3344:47: warning: trigraph ??) ignored, use -trigraphs to enable
glplpx14.c:3350:47: warning: trigraph ??) ignored, use -trigraphs to enable

SEE ALSO

Lischner (2003), pp 10-11 (section on trigraphs).

REFERENCES

Lischner, Ray.  2003.  C++ in a nutshell.  O'Reilly and Associates,
    Sebastopol, CA, USA.  ISBN: 0-596-00298-X.

---
Robbie Morrison









reply via email to

[Prev in Thread] Current Thread [Next in Thread]