You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@stdcxx.apache.org by "Martin Sebor (JIRA)" <ji...@apache.org> on 2008/04/07 21:47:24 UTC
[jira] Created: (STDCXX-831) [HP aCC 6.16] warnings compiling
fmtflags_manip.cpp example
[HP aCC 6.16] warnings compiling fmtflags_manip.cpp example
-----------------------------------------------------------
Key: STDCXX-831
URL: https://issues.apache.org/jira/browse/STDCXX-831
Project: C++ Standard Library
Issue Type: Sub-task
Components: Examples
Affects Versions: 4.2.0
Environment: aCC: HP C/aC++ B3910B A.06.16 [Nov 26 2007]
Reporter: Martin Sebor
Assignee: Martin Sebor
Fix For: 4.2.1
When compiled with HP aCC 6.16 the example program [fmtflags_manip.cpp|http://svn.apache.org/repos/asf/stdcxx/trunk/examples/manual/fmtflags_manip.cpp] produces the following warnings:
{noformat}
aCC -c -mt -I$(TOPDIR)/include -I$(BUILDDIR)/include -I$(TOPDIR)/examples/include -AA +O2 +DD64 +w +W392,655,684,818,819,849 +W2193,2236,2261,2340,2401,2487 +W4227,4229,4231,4235,4237,4249 +W4255,4272,4284,4285,4286,4296,4297 +W3348 $(TOPDIR)/examples/manual/fmtflags_manip.cpp
"$(TOPDIR)/examples/manual/fmtflags_manip.cpp", line 53: warning #4257-D: enumeration value is out of declared range, behavior is unspecified
if (flags != std::ios_base::fmtflags (-1))
^
"$(TOPDIR)/examples/manual/fmtflags_manip.cpp", line 53: warning #2514-D: pointless comparison of unsigned integer with a negative constant
if (flags != std::ios_base::fmtflags (-1))
^
"$(TOPDIR)/examples/manual/fmtflags_manip.cpp", line 53: warning #4275-D: constant out of range ([1 - 262144]) for the operator
if (flags != std::ios_base::fmtflags (-1))
^
{noformat}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (STDCXX-831) [HP aCC 6.16] warnings compiling
fmtflags_manip.cpp example
Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/STDCXX-831?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Sebor resolved STDCXX-831.
---------------------------------
Resolution: Fixed
Fix committed in [r645701|http://svn.apache.org/viewvc?rev=645701&view=rev].
Will close after merging to 4.2.x.
> [HP aCC 6.16] warnings compiling fmtflags_manip.cpp example
> -----------------------------------------------------------
>
> Key: STDCXX-831
> URL: https://issues.apache.org/jira/browse/STDCXX-831
> Project: C++ Standard Library
> Issue Type: Bug
> Components: Examples
> Affects Versions: 4.2.0
> Environment: aCC: HP C/aC++ B3910B A.06.16 [Nov 26 2007]
> Reporter: Martin Sebor
> Assignee: Martin Sebor
> Priority: Minor
> Fix For: 4.2.1
>
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> When compiled with HP aCC 6.16 the example program [fmtflags_manip.cpp|http://svn.apache.org/repos/asf/stdcxx/trunk/examples/manual/fmtflags_manip.cpp] produces the following warnings:
> {noformat}
> aCC -c -mt -I$(TOPDIR)/include -I$(BUILDDIR)/include -I$(TOPDIR)/examples/include -AA +O2 +DD64 +w +W392,655,684,818,819,849 +W2193,2236,2261,2340,2401,2487 +W4227,4229,4231,4235,4237,4249 +W4255,4272,4284,4285,4286,4296,4297 +W3348 $(TOPDIR)/examples/manual/fmtflags_manip.cpp
> "$(TOPDIR)/examples/manual/fmtflags_manip.cpp", line 53: warning #4257-D: enumeration value is out of declared range, behavior is unspecified
> if (flags != std::ios_base::fmtflags (-1))
> ^
> "$(TOPDIR)/examples/manual/fmtflags_manip.cpp", line 53: warning #2514-D: pointless comparison of unsigned integer with a negative constant
> if (flags != std::ios_base::fmtflags (-1))
> ^
> "$(TOPDIR)/examples/manual/fmtflags_manip.cpp", line 53: warning #4275-D: constant out of range ([1 - 262144]) for the operator
> if (flags != std::ios_base::fmtflags (-1))
> ^
> {noformat}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (STDCXX-831) [HP aCC 6.16] warnings compiling
fmtflags_manip.cpp example
Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/STDCXX-831?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Sebor closed STDCXX-831.
-------------------------------
Fixed.
> [HP aCC 6.16] warnings compiling fmtflags_manip.cpp example
> -----------------------------------------------------------
>
> Key: STDCXX-831
> URL: https://issues.apache.org/jira/browse/STDCXX-831
> Project: C++ Standard Library
> Issue Type: Bug
> Components: Examples
> Affects Versions: 4.2.0
> Environment: aCC: HP C/aC++ B3910B A.06.16 [Nov 26 2007]
> Reporter: Martin Sebor
> Assignee: Martin Sebor
> Priority: Minor
> Fix For: 4.2.1
>
> Original Estimate: 2h
> Time Spent: 2h
> Remaining Estimate: 0h
>
> When compiled with HP aCC 6.16 the example program [fmtflags_manip.cpp|http://svn.apache.org/repos/asf/stdcxx/trunk/examples/manual/fmtflags_manip.cpp] produces the following warnings:
> {noformat}
> aCC -c -mt -I$(TOPDIR)/include -I$(BUILDDIR)/include -I$(TOPDIR)/examples/include -AA +O2 +DD64 +w +W392,655,684,818,819,849 +W2193,2236,2261,2340,2401,2487 +W4227,4229,4231,4235,4237,4249 +W4255,4272,4284,4285,4286,4296,4297 +W3348 $(TOPDIR)/examples/manual/fmtflags_manip.cpp
> "$(TOPDIR)/examples/manual/fmtflags_manip.cpp", line 53: warning #4257-D: enumeration value is out of declared range, behavior is unspecified
> if (flags != std::ios_base::fmtflags (-1))
> ^
> "$(TOPDIR)/examples/manual/fmtflags_manip.cpp", line 53: warning #2514-D: pointless comparison of unsigned integer with a negative constant
> if (flags != std::ios_base::fmtflags (-1))
> ^
> "$(TOPDIR)/examples/manual/fmtflags_manip.cpp", line 53: warning #4275-D: constant out of range ([1 - 262144]) for the operator
> if (flags != std::ios_base::fmtflags (-1))
> ^
> {noformat}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (STDCXX-831) [HP aCC 6.16] warnings compiling
fmtflags_manip.cpp example
Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/STDCXX-831?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Sebor updated STDCXX-831:
--------------------------------
Priority: Minor (was: Major)
Lowered Priority to Minor.
> [HP aCC 6.16] warnings compiling fmtflags_manip.cpp example
> -----------------------------------------------------------
>
> Key: STDCXX-831
> URL: https://issues.apache.org/jira/browse/STDCXX-831
> Project: C++ Standard Library
> Issue Type: Bug
> Components: Examples
> Affects Versions: 4.2.0
> Environment: aCC: HP C/aC++ B3910B A.06.16 [Nov 26 2007]
> Reporter: Martin Sebor
> Assignee: Martin Sebor
> Priority: Minor
> Fix For: 4.2.1
>
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> When compiled with HP aCC 6.16 the example program [fmtflags_manip.cpp|http://svn.apache.org/repos/asf/stdcxx/trunk/examples/manual/fmtflags_manip.cpp] produces the following warnings:
> {noformat}
> aCC -c -mt -I$(TOPDIR)/include -I$(BUILDDIR)/include -I$(TOPDIR)/examples/include -AA +O2 +DD64 +w +W392,655,684,818,819,849 +W2193,2236,2261,2340,2401,2487 +W4227,4229,4231,4235,4237,4249 +W4255,4272,4284,4285,4286,4296,4297 +W3348 $(TOPDIR)/examples/manual/fmtflags_manip.cpp
> "$(TOPDIR)/examples/manual/fmtflags_manip.cpp", line 53: warning #4257-D: enumeration value is out of declared range, behavior is unspecified
> if (flags != std::ios_base::fmtflags (-1))
> ^
> "$(TOPDIR)/examples/manual/fmtflags_manip.cpp", line 53: warning #2514-D: pointless comparison of unsigned integer with a negative constant
> if (flags != std::ios_base::fmtflags (-1))
> ^
> "$(TOPDIR)/examples/manual/fmtflags_manip.cpp", line 53: warning #4275-D: constant out of range ([1 - 262144]) for the operator
> if (flags != std::ios_base::fmtflags (-1))
> ^
> {noformat}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (STDCXX-831) [HP aCC 6.16] warnings compiling
fmtflags_manip.cpp example
Posted by "Farid Zaripov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/STDCXX-831?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12589893#action_12589893 ]
Farid Zaripov commented on STDCXX-831:
--------------------------------------
Merged in 4.2.x branch thus: http://svn.apache.org/viewvc?view=rev&revision=648752
> [HP aCC 6.16] warnings compiling fmtflags_manip.cpp example
> -----------------------------------------------------------
>
> Key: STDCXX-831
> URL: https://issues.apache.org/jira/browse/STDCXX-831
> Project: C++ Standard Library
> Issue Type: Bug
> Components: Examples
> Affects Versions: 4.2.0
> Environment: aCC: HP C/aC++ B3910B A.06.16 [Nov 26 2007]
> Reporter: Martin Sebor
> Assignee: Martin Sebor
> Priority: Minor
> Fix For: 4.2.1
>
> Original Estimate: 2h
> Time Spent: 2h
> Remaining Estimate: 0h
>
> When compiled with HP aCC 6.16 the example program [fmtflags_manip.cpp|http://svn.apache.org/repos/asf/stdcxx/trunk/examples/manual/fmtflags_manip.cpp] produces the following warnings:
> {noformat}
> aCC -c -mt -I$(TOPDIR)/include -I$(BUILDDIR)/include -I$(TOPDIR)/examples/include -AA +O2 +DD64 +w +W392,655,684,818,819,849 +W2193,2236,2261,2340,2401,2487 +W4227,4229,4231,4235,4237,4249 +W4255,4272,4284,4285,4286,4296,4297 +W3348 $(TOPDIR)/examples/manual/fmtflags_manip.cpp
> "$(TOPDIR)/examples/manual/fmtflags_manip.cpp", line 53: warning #4257-D: enumeration value is out of declared range, behavior is unspecified
> if (flags != std::ios_base::fmtflags (-1))
> ^
> "$(TOPDIR)/examples/manual/fmtflags_manip.cpp", line 53: warning #2514-D: pointless comparison of unsigned integer with a negative constant
> if (flags != std::ios_base::fmtflags (-1))
> ^
> "$(TOPDIR)/examples/manual/fmtflags_manip.cpp", line 53: warning #4275-D: constant out of range ([1 - 262144]) for the operator
> if (flags != std::ios_base::fmtflags (-1))
> ^
> {noformat}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (STDCXX-831) [HP aCC 6.16] warnings compiling
fmtflags_manip.cpp example
Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/STDCXX-831?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Sebor updated STDCXX-831:
--------------------------------
Severity: Compiler Warning
Issue Type: Bug (was: Sub-task)
Parent: (was: STDCXX-695)
> [HP aCC 6.16] warnings compiling fmtflags_manip.cpp example
> -----------------------------------------------------------
>
> Key: STDCXX-831
> URL: https://issues.apache.org/jira/browse/STDCXX-831
> Project: C++ Standard Library
> Issue Type: Bug
> Components: Examples
> Affects Versions: 4.2.0
> Environment: aCC: HP C/aC++ B3910B A.06.16 [Nov 26 2007]
> Reporter: Martin Sebor
> Assignee: Martin Sebor
> Fix For: 4.2.1
>
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> When compiled with HP aCC 6.16 the example program [fmtflags_manip.cpp|http://svn.apache.org/repos/asf/stdcxx/trunk/examples/manual/fmtflags_manip.cpp] produces the following warnings:
> {noformat}
> aCC -c -mt -I$(TOPDIR)/include -I$(BUILDDIR)/include -I$(TOPDIR)/examples/include -AA +O2 +DD64 +w +W392,655,684,818,819,849 +W2193,2236,2261,2340,2401,2487 +W4227,4229,4231,4235,4237,4249 +W4255,4272,4284,4285,4286,4296,4297 +W3348 $(TOPDIR)/examples/manual/fmtflags_manip.cpp
> "$(TOPDIR)/examples/manual/fmtflags_manip.cpp", line 53: warning #4257-D: enumeration value is out of declared range, behavior is unspecified
> if (flags != std::ios_base::fmtflags (-1))
> ^
> "$(TOPDIR)/examples/manual/fmtflags_manip.cpp", line 53: warning #2514-D: pointless comparison of unsigned integer with a negative constant
> if (flags != std::ios_base::fmtflags (-1))
> ^
> "$(TOPDIR)/examples/manual/fmtflags_manip.cpp", line 53: warning #4275-D: constant out of range ([1 - 262144]) for the operator
> if (flags != std::ios_base::fmtflags (-1))
> ^
> {noformat}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.