Results 1 to 4 of 4

Thread: qwt 6.0 errors in the headers files ?

  1. #1
    Join Date
    Jan 2011
    Posts
    14
    Thanks
    1
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default qwt 6.0 errors in the headers files ?

    Hi,

    I've downloaded qwt 6.0 today.
    When i compile there are a lot of errors like : "/usr/local/qwt-6.0.0/include/qwt_text.h:213:58: warning: extra ‘;’"

    With the rc5 no errors.

  2. #2
    Join Date
    Feb 2006
    Location
    Munich, Germany
    Posts
    3,325
    Thanked 879 Times in 827 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: qwt 6.0 errors in the headers files ?

    This is a warning ( not an error ! ) about a pointless ';' at the end of a macro.

    What compiler with which options are you using ?

    Uwe

  3. #3
    Join Date
    Jan 2011
    Posts
    14
    Thanks
    1
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: qwt 6.0 errors in the headers files ?

    Quote Originally Posted by Uwe View Post
    This is a warning ( not an error ! ) about a pointless ';' at the end of a macro.

    What compiler with which options are you using ?

    Uwe
    Compiler
    Qt Code:
    1. kangs@kangs:~/dev/oestn2/src> g++ -v
    2. Using built-in specs.
    3. COLLECT_GCC=g++
    4. COLLECT_LTO_WRAPPER=/usr/lib64/gcc/x86_64-suse-linux/4.5/lto-wrapper
    5. Target: x86_64-suse-linux
    6. Configured with: ../configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64 --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.5 --enable-ssp --disable-libssp --disable-plugin --with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --disable-libgcj --disable-libmudflap --with-slibdir=/lib64 --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --enable-version-specific-runtime-libs --program-suffix=-4.5 --enable-linux-futex --without-system-libunwind --enable-gold --with-plugin-ld=/usr/bin/gold --with-arch-32=i586 --with-tune=generic --build=x86_64-suse-linux
    7. Thread model: posix
    8. gcc version 4.5.0 20100604 [gcc-4_5-branch revision 160292] (SUSE Linux)
    To copy to clipboard, switch view to plain text mode 

    Options : -m64 -pipe -g -ansi -Wall -pedantic -Wno-long-long -fno-gnu-keywords -std=gnu++98 -D_REENTRANT -Wall -W

  4. #4
    Join Date
    Feb 2006
    Location
    Munich, Germany
    Posts
    3,325
    Thanked 879 Times in 827 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: qwt 6.0 errors in the headers files ?

    O.k. the pedantic flag is responsible these warnings. I've removed the trailing ";" in SVN ( trunk + 6.0 branch ), but in the end you will have to live with certain warnings if you enable flags like this one.

    Uwe

  5. The following user says thank you to Uwe for this useful post:

    Kangs (28th April 2011)

Similar Threads

  1. errors while upload files on http server????
    By sups in forum Qt Programming
    Replies: 4
    Last Post: 25th February 2011, 23:11
  2. Strange Errors while compiling (QT Header Files)
    By DrDonut in forum Qt Programming
    Replies: 5
    Last Post: 21st May 2009, 13:10
  3. Where are those headers?
    By yagabey in forum Qt for Embedded and Mobile
    Replies: 5
    Last Post: 17th January 2009, 16:29
  4. Replies: 8
    Last Post: 5th October 2006, 22:30
  5. QMake / headers / lot of files
    By jcr in forum Qt Programming
    Replies: 7
    Last Post: 10th January 2006, 12:06

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.