[jira] Commented: (AMQCPP-49) Add -W -Wall compile options

2007-01-20 Thread Timothy Bish (JIRA)

[ 
https://issues.apache.org/activemq/browse/AMQCPP-49?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_37939
 ] 

Timothy Bish commented on AMQCPP-49:


This can get to be more trouble as with all the warnings that get emitted with 
-Wall that are superfluous, people tend to just start ignoring any warnings 
they see.

 Add -W -Wall compile options
 

 Key: AMQCPP-49
 URL: https://issues.apache.org/activemq/browse/AMQCPP-49
 Project: ActiveMQ C++ Client
  Issue Type: Improvement
 Environment: gcc
Reporter: Nathan Mittler
 Assigned To: Nathan Mittler
Priority: Trivial
 Fix For: 2.0


 Add -W -Wall compile options and clean up resulting warnings

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Commented: (AMQCPP-49) Add -W -Wall compile options

2007-01-20 Thread Nathan Mittler (JIRA)

[ 
https://issues.apache.org/activemq/browse/AMQCPP-49?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_37940
 ] 

Nathan Mittler commented on AMQCPP-49:
--

Unfortunately, without it - many warnings that are important don't show up in 
gcc ... such as problems with const-ness.  And since users would be including 
our headers, making sure they are clean is important.

 Add -W -Wall compile options
 

 Key: AMQCPP-49
 URL: https://issues.apache.org/activemq/browse/AMQCPP-49
 Project: ActiveMQ C++ Client
  Issue Type: Improvement
 Environment: gcc
Reporter: Nathan Mittler
 Assigned To: Nathan Mittler
Priority: Trivial
 Fix For: 2.0


 Add -W -Wall compile options and clean up resulting warnings

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Commented: (AMQCPP-49) Add -W -Wall compile options

2007-01-20 Thread Timothy Bish (JIRA)

[ 
https://issues.apache.org/activemq/browse/AMQCPP-49?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_37941
 ] 

Timothy Bish commented on AMQCPP-49:


gcc has many targeted -W options, perhaps you should consider using some of the 
ones that show the problems that you are referring to, and make the -Wall an 
option to the make script, i.e. 'make verbose'

 Add -W -Wall compile options
 

 Key: AMQCPP-49
 URL: https://issues.apache.org/activemq/browse/AMQCPP-49
 Project: ActiveMQ C++ Client
  Issue Type: Improvement
 Environment: gcc
Reporter: Nathan Mittler
 Assigned To: Nathan Mittler
Priority: Trivial
 Fix For: 2.0


 Add -W -Wall compile options and clean up resulting warnings

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Commented: (AMQCPP-49) Add -W -Wall compile options

2007-01-20 Thread Nathan Mittler (JIRA)

[ 
https://issues.apache.org/activemq/browse/AMQCPP-49?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_37942
 ] 

Nathan Mittler commented on AMQCPP-49:
--

I'd rather not have to get that specific.  Looking at the output from -Wall, it 
doesn't seem to be that fussy.  I've already got most of the changes locally.

 Add -W -Wall compile options
 

 Key: AMQCPP-49
 URL: https://issues.apache.org/activemq/browse/AMQCPP-49
 Project: ActiveMQ C++ Client
  Issue Type: Improvement
 Environment: gcc
Reporter: Nathan Mittler
 Assigned To: Nathan Mittler
Priority: Trivial
 Fix For: 2.0


 Add -W -Wall compile options and clean up resulting warnings

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Commented: (AMQCPP-49) Add -W -Wall compile options

2007-01-20 Thread Nathan Mittler (JIRA)

[ 
https://issues.apache.org/activemq/browse/AMQCPP-49?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_37943
 ] 

Nathan Mittler commented on AMQCPP-49:
--

Also, I'd prefer to go with the approach of exposing all the warnings and then 
selectively disabling the ones we choose to ignore.  That way, we're fully 
aware of what we're ignoring.  The opposite is risky.

 Add -W -Wall compile options
 

 Key: AMQCPP-49
 URL: https://issues.apache.org/activemq/browse/AMQCPP-49
 Project: ActiveMQ C++ Client
  Issue Type: Improvement
 Environment: gcc
Reporter: Nathan Mittler
 Assigned To: Nathan Mittler
Priority: Trivial
 Fix For: 2.0


 Add -W -Wall compile options and clean up resulting warnings

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Commented: (AMQCPP-49) Add -W -Wall compile options

2007-01-20 Thread Nathan Mittler (JIRA)

[ 
https://issues.apache.org/activemq/browse/AMQCPP-49?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_37946
 ] 

Nathan Mittler commented on AMQCPP-49:
--

You need to grab the latest makefile.am for main.

Please provide a sample of the warnings that you're getting with msvc

 Add -W -Wall compile options
 

 Key: AMQCPP-49
 URL: https://issues.apache.org/activemq/browse/AMQCPP-49
 Project: ActiveMQ C++ Client
  Issue Type: Improvement
 Environment: gcc
Reporter: Nathan Mittler
 Assigned To: Nathan Mittler
Priority: Trivial
 Fix For: 2.0


 Add -W -Wall compile options and clean up resulting warnings

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira