From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17741 invoked by alias); 30 Dec 2007 11:50:10 -0000 Received: (qmail 17733 invoked by uid 22791); 30 Dec 2007 11:50:09 -0000 X-Spam-Check-By: sourceware.org Received: from kuber.nabble.com (HELO kuber.nabble.com) (216.139.236.158) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 30 Dec 2007 11:49:57 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1J8wfy-0004VH-Qt for gcc-help@gcc.gnu.org; Sun, 30 Dec 2007 03:49:54 -0800 Message-ID: <14546579.post@talk.nabble.com> Date: Sun, 30 Dec 2007 11:50:00 -0000 From: mahmoodn To: gcc-help@gcc.gnu.org Subject: where is the error?? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: nt_mahmood@yahoo.com X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2007-12/txt/msg00446.txt.bz2 Hello, when I make, the output does not show exactly where is the problem:working:. here is the output of "make": /usr/lib/qt-3.3/bin/moc -o VVc_demo.moc VVc_demo.cpp g++ -I../../include -I../../../Arrangement_2/include -ggdb -Wall '-I/home/naderan/CGAL-3.2/include/CGAL/config/i686_Linux-2.6_g++-3.3.3' '-I/home/naderan/CGAL-3.2/include' -I/usr/X11R6/include -I/usr/lib/qt-3.3/include -DCGAL_USE_CGAL_CORE -c VVc_demo.cpp VVc_demo.cpp: In member function `virtual void VVc_window::mousePressEvent(QMouseEvent*)': VVc_demo.cpp:254: warning: unused variable `int numberOfPoints' VVc_demo.cpp:234: warning: unused variable `double len2' VVc_demo.cpp:234: warning: unused variable `double len3' VVc_demo.cpp: In member function `void VVc_window::redraw_win()': VVc_demo.cpp:410: error: request for member `drawLine' in ` this->VVc_window::widget', which is of non-aggregate type `CGAL::Qt_widget*' ../../include/CGAL/VVc_diagram_2.h: In member function `void CGAL::VVc_diagram_2::queryMahmood(typename CGAL::Polygon_clearance_offsetting_2::Alg_point_2&, typename CGAL::Polygon_clearance_offsetting_2::Alg_point_2&, double&, std::vector::Alg_point_2, std::allocator::Alg_point_2> >) const [with Traits_ = Traits_2, AppKernel_ = App_kernel]': VVc_demo.cpp:289: instantiated from here ../../include/CGAL/VVc_diagram_2.h:956: warning: unused variable `bool flag' make: *** [VVc_demo.o] Error 1%-| So where is the error???:confused: the warning should not produce ant error. Regards, mahmood -- View this message in context: http://www.nabble.com/where-is-the-error---tp14546579p14546579.html Sent from the gcc - Help mailing list archive at Nabble.com.