Menu

socket.h:558: parse error before `0'

Help
2002-04-23
2002-04-23
  • Sebastian Wain

    Sebastian Wain - 2002-04-23

    /usr/local/include/cc++2/cc++/socket.h:558: parse error before `0'

    Any Idea?

    I am using flex before compiling the source, and the *.yy.cc file includes stdlib.h before:

    ---
    #include <cc++/common.h>

    #include <iostream>
    #include <cstdlib>
    ---

    Thank You
    Sebastian Wain

     
    • Sebastian Wain

      Sebastian Wain - 2002-04-23

      I just discovered where is the problem.
      Common C++ has an "INITIAL" in socket.h, but INITIAL is reserved for [f]lex.
      What is the clean way to correct it to be [f]lex compatible?

      Thank You
      Sebastian Wain

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.