Discussion:
[omniORB] Patch to fix trigraph misinterpretation
Peter Klotz
2011-02-22 00:38:20 UTC
Permalink
Hello Duncan

The attached patch fixes this trigraph warning by gcc:

../../../../../src/lib/omniORB/orbcore/logIOstream.cc:353:57: warning: trigraph ??) ignored, use -trigraphs to enable


According to the C++ Standard "??)" should be replaced by "]" (see ISO C++ 1998, 2.3, 1). gcc just warns without replacing anything but Visual Studio correctly replaces the trigraph.

The patch splits up "(???)" to avoid the trigraph interpretation.

Regards, Peter.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: omniORB-4.1.5-trigraph.patch
Type: application/octet-stream
Size: 775 bytes
Desc: omniORB-4.1.5-trigraph.patch
Url : http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20110221/f0ccb449/omniORB-4.1.5-trigraph.obj
Loading...