[omniORB] Patch to fix trigraph misinterpretation

Peter Klotz Peter.Klotz at ith-icoserve.com
Mon Feb 21 19:37:43 GMT 2011


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


More information about the omniORB-list mailing list