roublesaha Posted January 9, 2009 Share Posted January 9, 2009 Hi I am using this snippet of code void * handle_; if (handle_ =dlopen("/System/Library/Frameworks/DiskArbitration.Framework/Versions/A/DiskArbitration",RTLD_NOW)) { printf("............"); } else if (handle_ =dlopen("/System/Library/PrivateFrameworks/DiskArbitration.Framework/Versions/A/DiskArbitration",RTLD_NOW)) { printf("................."); } But i am getting the warning : "suggest parentheses around assignment used as truth value" for the first line i,e the for the "for" loop....can somebody help me to get rid of this warning.. Link to comment Share on other sites More sharing options...
Recommended Posts