Search the web
Sign In
New User? Sign Up
ace-users
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Re: [ace-users] ACE_Reactor handle_output() does not work in win32   Message List  
Reply | Forward Message #30994 of 42992 |
Re: [ace-users] How to disable Warnings in ACE Makefiles

On Thursday, 16 May 2002, Salman Khilji wrote:
> On Linux, g++ I tried to do this:
>
> CCFLAGS -= -W

GNU Make is not C or C++. There is no -=. If you want to remove this flag
permanently for all compilation, set the flag in platform_macros.GNU like
this:

$ACE_ROOT/include/makeinclude/platform_macros.GNU
-------------------------------------------------

debug = 0
inline = 1
optimize = 1
include $(ACE_ROOT)/include/makeinclude/platform_linux.GNU
CFLAGS = (whatever you want it to be)

I think that CFLAGS contain the warning setting. Or if you want to change
the value for a particular directory, change the Makefile in the directory
like this:

CFLAGS := $(filter-out -Wall,$(CFLAGS))
CFLAGS := $(filter-out -W,$(CFLAGS))

Note you must do this after all the includes in the Makefile, right before
the beginning of the rules. Ofcourse you should read the manual....

-kitty.

--
Krishnakumar B <kitty at cs dot wustl dot edu>
Distributed Object Computing Laboratory, Washington University in St.Louis



Thu May 16, 2002 5:13 pm

kitty@...
Send Email Send Email

Forward
Message #30994 of 42992 |
Expand Messages Author Sort by Date

Hi Sreeram, ... It's hard to say exactly what's going on without seeing your code. However, there's a discussion in Chapter 4 of C++NPv2 ...
Douglas C. Schmidt
schmidt@...
Send Email
May 15, 2002
12:54 pm

... if ( write() == EWOULDBLOCK ) then { ... . ... ... wmfo_reactor->handle_events() } what happens when the socket transitions from flow-controlled to...
K S Sreeram
sreeram@...
Send Email
May 15, 2002
3:11 pm

Hi, ... The event hasn't been reported yet so presumably the WFMO reactor will still report the event. If not, then Windows' WaitForMultipleObjects() call...
Ossama Othman
ossama@...
Send Email
May 15, 2002
8:46 pm

... Think of each waitable socket as having an internal flag. It is set when EWOULDBLOCK is returned by a write, and reset when WaitForMultipleObjects returns...
Jonathan Biggar
jon@...
Send Email
May 15, 2002
9:10 pm

Hi Jonathan, ... Right! However, most folks that have traditionally used select()/poll() may not be used to interleaving write() calls that return EWOULDBLOCK...
Ossama Othman
ossama@...
Send Email
May 15, 2002
10:59 pm

On Linux, g++ I tried to do this: CCFLAGS -= -W CCFlags -+ -Wall DCFLAGS -= -W DCFlags -+ -Wall OCFLAGS -= -W OCFlags -+ -Wall but it does not work---the -W...
Salman Khilji
salmankhilji@...
Send Email
May 16, 2002
12:46 pm

IIRC the default makefile flags for C++ are: CXX - compiler CXXFLAGS - compiler flags By the way, -Wall won't disable warnings. ... ...
Andrew Sutton
ansutton@...
Send Email
May 16, 2002
1:56 pm

... GNU Make is not C or C++. There is no -=. If you want to remove this flag permanently for all compilation, set the flag in platform_macros.GNU like this: ...
Krishnakumar B
kitty@...
Send Email
May 16, 2002
5:16 pm

Hi Justin, ... its ... to ... the ... Yes, emphasis on "becomes". ... Not really... this may be a niggling point, but I want to avoid confusion... the event is...
Steve Huston
shuston@...
Send Email
May 17, 2002
4:46 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help