<?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 #20: identifier &amp;quot;float_round_style&amp;quot; is undefined in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/error-20-identifier-quot-float-round-style-quot-is-undefined/m-p/4249662#M687546</link>
    <description>&amp;gt;using thirdparty front end to compile&lt;BR /&gt;&lt;BR /&gt;Unless your third party preprocessor matches exactly with what aCC6 is doing, you'll continue to have problems like this and your previous threads:&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1223245" target="_blank"&gt;http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1223245&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt;error #77-D: this declaration has no storage class or type specifier&lt;BR /&gt;__inline float fabsf(float __x)&lt;BR /&gt;&lt;BR /&gt;Just pass in -D__inline=inline.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;error #20: identifier "_Asm_fabs" is undefined&lt;BR /&gt;&lt;BR /&gt;All _Asm_* functions are builtin.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;/opt/aCC.06.15/opt/aCC/include/limits: error #20: identifier "float_round_style" is undefined&lt;BR /&gt;static const float_round_style round_style;&lt;BR /&gt;&lt;BR /&gt;I'm not sure what's wrong here?  You should be using the includes from include_std.  float_round_style should be defined before use.&lt;BR /&gt;&lt;BR /&gt;#if defined(__ia64)&lt;BR /&gt;"-I/opt/aCC.06.15/opt/aCC/include";&lt;BR /&gt;"-I/opt/aCC.06.15/opt/aCC/include/iostream";&lt;BR /&gt;"-I/opt/aCC.06.15/opt/aCC/include_std";&lt;BR /&gt;"-I/usr";&lt;BR /&gt;&lt;BR /&gt;These are incorrect.  There shouldn't be any #if.  There needs to be a set for -AP and another set of -AA.  The above set is a miss mash of the two.&lt;BR /&gt;&lt;BR /&gt;Use -v to see the paths for -AA (the default) and -AP.</description>
    <pubDate>Mon, 11 Aug 2008 22:51:28 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2008-08-11T22:51:28Z</dc:date>
    <item>
      <title>error #20: identifier "float_round_style" is undefined</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-20-identifier-quot-float-round-style-quot-is-undefined/m-p/4249661#M687545</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;While trying to build on  HP-UX B.11.23 U ia64, using thirdparty front end to compile, I am getting the following error:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;"/usr/include/math.h", line 1147: error #77-D: this declaration has no storage&lt;BR /&gt;          class or type specifier&lt;BR /&gt;             __inline float fabsf(float __x) { return _Asm_fabs(__x); }&lt;BR /&gt;             ^&lt;BR /&gt;&lt;BR /&gt;"/usr/include/math.h", line 1147: error #65: expected a ";"&lt;BR /&gt;             __inline float fabsf(float __x) { return _Asm_fabs(__x); }&lt;BR /&gt;"/opt/aCC.06.15/opt/aCC/include/cmath", line 24: error #20: identifier&lt;BR /&gt;          "_Asm_fabs" is undefined&lt;BR /&gt;  inline double fabs(double x) { return _Asm_fabs(x); }&lt;BR /&gt;                                        ^&lt;BR /&gt;&lt;BR /&gt;"/opt/aCC.06.15/opt/aCC/include/cmath", line 26: error #20: identifier&lt;BR /&gt;          "_Asm_fabs" is undefined&lt;BR /&gt;  inline double abs (double x) { return _Asm_fabs(x); }&lt;BR /&gt;                                        ^&lt;BR /&gt;&lt;BR /&gt;"/opt/aCC.06.15/opt/aCC/include/limits", line 153: error #20: identifier&lt;BR /&gt;          "float_round_style" is undefined&lt;BR /&gt;      static const float_round_style round_style;&lt;BR /&gt;                   ^&lt;BR /&gt;&lt;BR /&gt;"/opt/aCC.06.15/opt/aCC/include/limits", line 225: error #20: identifier&lt;BR /&gt;          "float_round_style" is undefined&lt;BR /&gt;  const float_round_style numeric_limits&lt;T&gt;::round_style = round_toward_zero;&lt;BR /&gt;        ^&lt;BR /&gt;&lt;BR /&gt;"/opt/aCC.06.15/opt/aCC/include/limits", line 332: error #20: identifier&lt;BR /&gt;          "float_round_style" is undefined&lt;BR /&gt;    static const float_round_style RWSTDExportTemplate round_style __RW_INIT(RWS&lt;BR /&gt;TD_STATIC_CAST(float_round_style,FLT_ROUNDS));&lt;BR /&gt;                 ^&lt;BR /&gt;          detected during instantiation of class "numeric_limits&lt;FLOAT&gt;" at&lt;BR /&gt;                    line 285&lt;BR /&gt;&lt;BR /&gt;"/opt/aCC.06.15/opt/aCC/include/limits", line 332: error #321: data member&lt;BR /&gt;          initializer is not allowed&lt;BR /&gt;    static const float_round_style RWSTDExportTemplate round_style __RW_INIT(RWS&lt;BR /&gt;TD_STATIC_CAST(float_round_style,FLT_ROUNDS));&lt;BR /&gt;                                                                   ^&lt;BR /&gt;          detected during instantiation of class "numeric_limits&lt;FLOAT&gt;" at&lt;BR /&gt;                    line 285&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;In addition, I have provided the following includes while builing the front end compiler using aCC 6.15.&lt;BR /&gt;&lt;BR /&gt;#if defined(__ia64)&lt;BR /&gt;                           v_argv[n++] ="-I/opt/aCC.06.15/opt/aCC/include";&lt;BR /&gt;                           v_argv[n++] ="-I/opt/aCC.06.15/opt/aCC/include/iostream";&lt;BR /&gt;                           v_argv[n++] ="-I/opt/aCC.06.15/opt/aCC/include_std";&lt;BR /&gt;                           v_argv[n++] ="-I/usr";&lt;BR /&gt;#endif&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Any suggestion would be appreciated.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Neel&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/FLOAT&gt;&lt;/FLOAT&gt;&lt;/T&gt;</description>
      <pubDate>Mon, 11 Aug 2008 11:02:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-20-identifier-quot-float-round-style-quot-is-undefined/m-p/4249661#M687545</guid>
      <dc:creator>Neel2</dc:creator>
      <dc:date>2008-08-11T11:02:21Z</dc:date>
    </item>
    <item>
      <title>Re:  error #20: identifier "float_round_style" is undefined</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-20-identifier-quot-float-round-style-quot-is-undefined/m-p/4249662#M687546</link>
      <description>&amp;gt;using thirdparty front end to compile&lt;BR /&gt;&lt;BR /&gt;Unless your third party preprocessor matches exactly with what aCC6 is doing, you'll continue to have problems like this and your previous threads:&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1223245" target="_blank"&gt;http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1223245&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt;error #77-D: this declaration has no storage class or type specifier&lt;BR /&gt;__inline float fabsf(float __x)&lt;BR /&gt;&lt;BR /&gt;Just pass in -D__inline=inline.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;error #20: identifier "_Asm_fabs" is undefined&lt;BR /&gt;&lt;BR /&gt;All _Asm_* functions are builtin.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;/opt/aCC.06.15/opt/aCC/include/limits: error #20: identifier "float_round_style" is undefined&lt;BR /&gt;static const float_round_style round_style;&lt;BR /&gt;&lt;BR /&gt;I'm not sure what's wrong here?  You should be using the includes from include_std.  float_round_style should be defined before use.&lt;BR /&gt;&lt;BR /&gt;#if defined(__ia64)&lt;BR /&gt;"-I/opt/aCC.06.15/opt/aCC/include";&lt;BR /&gt;"-I/opt/aCC.06.15/opt/aCC/include/iostream";&lt;BR /&gt;"-I/opt/aCC.06.15/opt/aCC/include_std";&lt;BR /&gt;"-I/usr";&lt;BR /&gt;&lt;BR /&gt;These are incorrect.  There shouldn't be any #if.  There needs to be a set for -AP and another set of -AA.  The above set is a miss mash of the two.&lt;BR /&gt;&lt;BR /&gt;Use -v to see the paths for -AA (the default) and -AP.</description>
      <pubDate>Mon, 11 Aug 2008 22:51:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-20-identifier-quot-float-round-style-quot-is-undefined/m-p/4249662#M687546</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-08-11T22:51:28Z</dc:date>
    </item>
    <item>
      <title>Re:  error #20: identifier "float_round_style" is undefined</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-20-identifier-quot-float-round-style-quot-is-undefined/m-p/4249663#M687547</link>
      <description>Thanks for reply.&lt;BR /&gt;&lt;BR /&gt;I will try to defined the above declaration for thirdparty.&lt;BR /&gt;&lt;BR /&gt;Neel</description>
      <pubDate>Thu, 14 Aug 2008 03:23:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-20-identifier-quot-float-round-style-quot-is-undefined/m-p/4249663#M687547</guid>
      <dc:creator>Neel2</dc:creator>
      <dc:date>2008-08-14T03:23:01Z</dc:date>
    </item>
  </channel>
</rss>

