<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: error #2029: expected an expression in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/error-2029-expected-an-expression/m-p/4783086#M640984</link>
    <description>&lt;!--!*#--&gt;I don't know enough about C++ even to be&lt;BR /&gt;dangerous, but what's the value of a "{}"&lt;BR /&gt;code block supposed to be?&lt;BR /&gt;&lt;BR /&gt;Around here:&lt;BR /&gt;&lt;BR /&gt;alp $ cxx hp_uuu.cpp&lt;BR /&gt;&lt;BR /&gt;long int x = ({ long int __result; __result = 131; __result; });&lt;BR /&gt;..............^&lt;BR /&gt;%CXX-E-EXPPRIMEXPR, expected an expression&lt;BR /&gt;at line number 3 in file ALP$DKC0:[SMS.ITRC]hp_uuu.cpp;1&lt;BR /&gt;&lt;BR /&gt;%CXX-I-MESSAGE, 1 error detected in the compilation of "ALP$DKC0:[SMS.ITRC]hp_uuu.cpp;1".&lt;BR /&gt;&lt;BR /&gt;(With a fixed-width font, that "^" points to&lt;BR /&gt;the "{".)&lt;BR /&gt;&lt;BR /&gt;alp $ cxx /version&lt;BR /&gt;HP C++ V7.3-009 for OpenVMS Alpha V8.3</description>
    <pubDate>Mon, 02 May 2011 07:06:39 GMT</pubDate>
    <dc:creator>Steven Schweda</dc:creator>
    <dc:date>2011-05-02T07:06:39Z</dc:date>
    <item>
      <title>error #2029: expected an expression</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-2029-expected-an-expression/m-p/4783085#M640983</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;HP-UX hpx418 B.11.23 U ia64 1139467043 unlimited-user license&lt;BR /&gt;&lt;BR /&gt;aCC: HP C/aC++ B3910B A.06.25.01 [May 16 2010]&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;---- hp_uuu.cpp ---&lt;BR /&gt;int main()&lt;BR /&gt;{&lt;BR /&gt;  long int x = ({ long int __result; __result = 131; __result; });&lt;BR /&gt; &lt;BR /&gt; return 0;&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;-------------------&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;====== Compilation ======&lt;BR /&gt;&amp;gt; aCC hp_uuu.cpp&lt;BR /&gt;"hp_uuu.cpp", line 3: error #2029: expected an expression&lt;BR /&gt;    long int x = ({ long int __result; __result = 131; __result; });&lt;BR /&gt;                  ^&lt;BR /&gt;&lt;BR /&gt;1 error detected in the compilation of "hp_uuu.cpp".&lt;BR /&gt;&lt;BR /&gt;=========================&lt;BR /&gt;&lt;BR /&gt;Cpmpilers SUN CC, AIX xlC, Intel ixpc have np problem with that code.&lt;BR /&gt;&lt;BR /&gt;CC: Sun C++ 5.11 SunOS_sparc 2010/08/13&lt;BR /&gt;&lt;BR /&gt;IBM XL C/C++ for AIX, V10.1&lt;BR /&gt;Version: 10.01.0000.0000&lt;BR /&gt;&lt;BR /&gt;Intel(R) C++ Intel(R) 64 Compiler XE for applications running on Intel(R) 64, Version 12.0.0.084 Build 20101006&lt;BR /&gt;Copyright (C) 1985-2010 Intel Corporation.  All rights reserved.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 02 May 2011 06:50:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-2029-expected-an-expression/m-p/4783085#M640983</guid>
      <dc:creator>Alex Vinokur</dc:creator>
      <dc:date>2011-05-02T06:50:13Z</dc:date>
    </item>
    <item>
      <title>Re: error #2029: expected an expression</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-2029-expected-an-expression/m-p/4783086#M640984</link>
      <description>&lt;!--!*#--&gt;I don't know enough about C++ even to be&lt;BR /&gt;dangerous, but what's the value of a "{}"&lt;BR /&gt;code block supposed to be?&lt;BR /&gt;&lt;BR /&gt;Around here:&lt;BR /&gt;&lt;BR /&gt;alp $ cxx hp_uuu.cpp&lt;BR /&gt;&lt;BR /&gt;long int x = ({ long int __result; __result = 131; __result; });&lt;BR /&gt;..............^&lt;BR /&gt;%CXX-E-EXPPRIMEXPR, expected an expression&lt;BR /&gt;at line number 3 in file ALP$DKC0:[SMS.ITRC]hp_uuu.cpp;1&lt;BR /&gt;&lt;BR /&gt;%CXX-I-MESSAGE, 1 error detected in the compilation of "ALP$DKC0:[SMS.ITRC]hp_uuu.cpp;1".&lt;BR /&gt;&lt;BR /&gt;(With a fixed-width font, that "^" points to&lt;BR /&gt;the "{".)&lt;BR /&gt;&lt;BR /&gt;alp $ cxx /version&lt;BR /&gt;HP C++ V7.3-009 for OpenVMS Alpha V8.3</description>
      <pubDate>Mon, 02 May 2011 07:06:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-2029-expected-an-expression/m-p/4783086#M640984</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2011-05-02T07:06:39Z</dc:date>
    </item>
    <item>
      <title>Re: error #2029: expected an expression</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-2029-expected-an-expression/m-p/4783087#M640985</link>
      <description>&lt;BR /&gt;From:&lt;BR /&gt;&lt;A href="http://www.beastsoft.net/trac/gmediaserver/browser/src/tempfailure.h?order=name" target="_blank"&gt;http://www.beastsoft.net/trac/gmediaserver/browser/src/tempfailure.h?order=name&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;26 /* TEMP_FAILURE_RETRY uses ({ }) syntax which is probably only supported &lt;BR /&gt;27  * by GCC. That is why this file is not in Gnulib. &lt;BR /&gt;28  */ &lt;BR /&gt;29  &lt;BR /&gt;30 #ifndef TEMP_FAILURE_RETRY &lt;BR /&gt;31 #define TEMP_FAILURE_RETRY(expression) \ &lt;BR /&gt;32     ({ \ &lt;BR /&gt;33         long int _result; \ &lt;BR /&gt;34         do _result = (long int) (expression); \ &lt;BR /&gt;35         while (_result == -1L &amp;amp;&amp;amp; errno == EINTR); \ &lt;BR /&gt;36         _result; \ &lt;BR /&gt;37     }) &lt;BR /&gt;38 #endif &lt;BR /&gt;&lt;BR /&gt;But why is that compiled on SUN CC, AIX xlC and Intel icpc?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 02 May 2011 07:22:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-2029-expected-an-expression/m-p/4783087#M640985</guid>
      <dc:creator>Alex Vinokur</dc:creator>
      <dc:date>2011-05-02T07:22:49Z</dc:date>
    </item>
    <item>
      <title>Re: error #2029: expected an expression</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-2029-expected-an-expression/m-p/4783088#M640986</link>
      <description>&lt;!--!*#--&gt;&amp;gt; But why is that compiled on SUN CC, AIX xlC&lt;BR /&gt;&amp;gt; and Intel icpc?&lt;BR /&gt;&lt;BR /&gt;Are you asking why all C++ compilers are not&lt;BR /&gt;exactly equivalent?  I can think at least one&lt;BR /&gt;possible reason for this.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; [...] what's the value of a "{}"&lt;BR /&gt;&amp;gt; code block supposed to be?&lt;BR /&gt;&lt;BR /&gt;Still wondering.</description>
      <pubDate>Mon, 02 May 2011 14:21:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-2029-expected-an-expression/m-p/4783088#M640986</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2011-05-02T14:21:28Z</dc:date>
    </item>
    <item>
      <title>Re: error #2029: expected an expression</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-2029-expected-an-expression/m-p/4783089#M640987</link>
      <description>This is a GNU statement expression.  You'll need to use -Ag++ to enable them.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Steven: but what's the value of a "{}" code block supposed to be?&lt;BR /&gt;&lt;BR /&gt;__result:&lt;BR /&gt;&lt;A href="http://gcc.gnu.org/onlinedocs/gcc/Statement-Exprs.html" target="_blank"&gt;http://gcc.gnu.org/onlinedocs/gcc/Statement-Exprs.html&lt;/A&gt;</description>
      <pubDate>Mon, 02 May 2011 18:13:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-2029-expected-an-expression/m-p/4783089#M640987</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-05-02T18:13:27Z</dc:date>
    </item>
    <item>
      <title>Re: error #2029: expected an expression</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-2029-expected-an-expression/m-p/4783090#M640988</link>
      <description>&lt;!--!*#--&gt;&amp;gt; &lt;A href="http://gcc.gnu.org/onlinedocs/gcc/Statement-Exprs.html" target="_blank"&gt;http://gcc.gnu.org/onlinedocs/gcc/Statement-Exprs.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Ah.  Thanks for the pointer.</description>
      <pubDate>Mon, 02 May 2011 19:51:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-2029-expected-an-expression/m-p/4783090#M640988</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2011-05-02T19:51:32Z</dc:date>
    </item>
    <item>
      <title>Re: error #2029: expected an expression</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-2029-expected-an-expression/m-p/4783091#M640989</link>
      <description>Dennis, a lof o thanks.</description>
      <pubDate>Tue, 03 May 2011 02:38:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-2029-expected-an-expression/m-p/4783091#M640989</guid>
      <dc:creator>Alex Vinokur</dc:creator>
      <dc:date>2011-05-03T02:38:56Z</dc:date>
    </item>
    <item>
      <title>Re: error #2029: expected an expression</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-2029-expected-an-expression/m-p/4783092#M640990</link>
      <description>&amp;gt;ME: You'll need to use -Ag++ to enable them.&lt;BR /&gt;&lt;BR /&gt;In A.06.26, this will be enabled by default.</description>
      <pubDate>Tue, 03 May 2011 08:03:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-2029-expected-an-expression/m-p/4783092#M640990</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-05-03T08:03:41Z</dc:date>
    </item>
    <item>
      <title>Re: error #2029: expected an expression</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-2029-expected-an-expression/m-p/4783093#M640991</link>
      <description>Thanks</description>
      <pubDate>Tue, 03 May 2011 09:37:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-2029-expected-an-expression/m-p/4783093#M640991</guid>
      <dc:creator>Alex Vinokur</dc:creator>
      <dc:date>2011-05-03T09:37:22Z</dc:date>
    </item>
  </channel>
</rss>

