Results 1 to 2 of 2

Thread: fatal error C1202: recursive type or func

  1. #1
    Join Date
    Apr 2013
    Posts
    63
    Thanks
    15
    Qt products
    Qt4
    Platforms
    Windows

    Default fatal error C1202: recursive type or func

    While compiling a project in Visual Studio 2008, I am getting the following error

    c:\qwt-5.2.3\include\qwt_plot_item.h(114) : fatal error C1202: recursive type or function dependency context too complex

    The corresponding line is
    Qt Code:
    1. explicit QwtPlotItem(const QwtText &title = QwtText());
    To copy to clipboard, switch view to plain text mode 

    In QWT 6.1, the compilation just fails at that line without error message. In 5.2.3, I am getting the above error message. For now, I am commenting that line and able to compile. Any idea how to solve the actual issue?
    Searching in google, I found that the C1202 error is related to optimization setings. But could not solve.

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

    Default Re: fatal error C1202: recursive type or func

    Qwt 5.x is several years on the market and nobody ever reported such a problem. So it is very likely that you did something wrong on your side.

    What happens when you build the Qwt examples - and what happens when building a simple Qwt demo application with an installed version of Qwt 6.1 using qmake with qwt.prf included ( see http://qwt.sourceforge.net/qwtinstal...PILEANDLINKAPP ) ?

    Uwe

Similar Threads

  1. Replies: 1
    Last Post: 2nd February 2013, 12:42
  2. fatal error C1001: An internal error has occurred in the compiler
    By noodles in forum Installation and Deployment
    Replies: 0
    Last Post: 12th August 2010, 11:24
  3. Fatal error ..!!!!
    By joseph in forum Qt Programming
    Replies: 9
    Last Post: 13th November 2007, 14:05
  4. fatal error- missing -'QtUiToolsd.lib
    By razovy in forum Installation and Deployment
    Replies: 2
    Last Post: 20th June 2006, 08:55
  5. QT4 beginner Fatal Error
    By Remyfr in forum Installation and Deployment
    Replies: 3
    Last Post: 11th March 2006, 01:48

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.