CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: linhung

Page 1 of 2 1 2

Search: Search took 0.06 seconds.

  1. Replies
    10
    Views
    1,195

    Re: getting .exe file from Bison source code

    Hi,

    I am not very sure what my manager meant cuz i am not very familiar with the whole thing still, but basically, he said, Cygwin is a unix based program, and what he wants is to run under...
  2. Replies
    10
    Views
    1,195

    Re: getting .exe file from Bison source code

    Hi,

    yes, but my manager doesnt want me to use cygwin. thats the problem.
  3. Replies
    10
    Views
    1,195

    Re: getting .exe file from Bison source code

    Hi,

    thanks,

    the problem is, I need to use the latest bison, which should be 2.1 or 2.3. the unixtool only has 1.28, which is too old.

    thanx chris,
  4. Replies
    10
    Views
    1,195

    getting .exe file from Bison source code

    Hi,

    I downloaded bison-2.1.tar.gz, and unzipped it.
    The place I downloaded from is
    ftp://alpha.gnu.org/gnu/bison/bison-2.1a.tar.gz

    I got a whole bunch of source code in there. Does anyone...
  5. problem with .l file and how to get rid of redifinition error

    Hi,

    I have .l code (lex code) and a Flex.exe file.

    When I used a sample .l program, i could use Flex and generate the .c file, then use Cygwin to compile (So I know flex.exe is working fine). ...
  6. Re: [RESOLVED] latest version of Lex&Yacc and Bison

    Chris,

    I actually turned to another version of Bison, which has been created as .exe. It turned out I didn't use Cygwin. thats the reason. after adding a lot of functions and names into header...
  7. Re: How to read this, it seems like it has two types

    Thanks for the reply, now I am facing two new errors, and I believe they are related.

    I am getting two of the following error,
    talk_ll.c(4376): error C2375: 'input' : redefinition; different...
  8. Re: How to read this, it seems like it has two types

    Shouldnt I use #define mbs_yysbuf something, what should I put for something??
  9. Re: How to read this, it seems like it has two types

    Hi,

    This is part of the grogram. The compiler indicates this part is causing the error, so I pasted it on here seeking for help.
  10. How to read this, it seems like it has two types

    Here is the part thats causing the error

    #ifndef YY_SKIP_mbs_yysbuf
    #ifdef __cplusplus
    extern "C" int mbs_yysbuf YY_PROTO(( void ));
    #else
    extern int mbs_yysbuf YY_PROTO(( void ));
    #endif...
  11. Re: Visual Studio error C2371 redefinition; different basic types and C2040

    thank you all

    The problems are solved, altho new ones arrose, but, thanks a lot!!
  12. Re: Visual Studio error C2371 redefinition; different basic types and C2040

    Thanks for the reply,

    I am sorry, but I personally don't even know how to duplicate the error because I really dont know where the error is coming from.

    I am a very new intern, and this part of...
  13. [RESOLVED] Visual Studio error C2371 redefinition; different basic types and C2040

    Hi,

    My program is huge, and I am working for a company, so I cannot paste the code.

    I am facing error C2371 (lots of them, almost every function). However, I double checked, I did not redefine....
  14. Re: latest version of Lex&Yacc and Bison

    Thanks to all,

    i got this part working now!!
  15. Re: Problem with Cygwin, No library is found

    Thank you both,

    have no problem now!! thanks
  16. Re: latest version of Lex&Yacc and Bison

    Chris, thanx,

    Here is the errors i got when I ran the sample program in MS Visual Studio (The one I mentioned that successfully executed under Cygwin), only 2 errors.

    Error 1 error C2449: found...
  17. Re: latest version of Lex&Yacc and Bison

    Chris,

    I have already tested the simple hello world file under both Cygwin and MS Visual Studio 2005. Both ran fine.

    My question was, how does successfully running under Cygwin help me to run...
  18. Re: Problem with Cygwin, No library is found

    Chris,

    I am not sure, as I was totally new to Cygwin program. I just click setup, and click next until i see finish.
  19. Re: Problem with Cygwin, No library is found

    SuperKoKo,

    Thanks for the tips, now everything compiled and I got the .exe file.
    And i successfully tested the sample program.

    thanks so much!!
  20. Re: Problem with Cygwin, No library is found

    SuperKoKo,

    I did what you said, but nothing came up. only an emply line with no letters.

    Does that mean my installation is not completed?

    thanks
  21. Re: Problem with Cygwin, No library is found

    SuperKoKo,

    Can you please tell me how to check those two paths?

    thanks,
  22. [RESOLVED] Problem with Cygwin, No library is found

    Hi,

    I installed CygWin. I just ran the simplest program, but it gives a few errors.

    The program is

    #include <iostream>
    using namespace std;
    int main(){
    cout << "Welcome to the wonderful...
  23. Re: latest version of Lex&Yacc and Bison

    Thanks for the fast reply, Chris!!

    I have successfully compiled and ran the simple test program under CygWin, therefore, the program should be ok.

    Now, when I ran the actual code my boss game...
  24. Re: latest version of Lex&Yacc and Bison

    I appreciate both of you for suggestions.

    However, I am a little bit confused now.

    According to Zuk, I only need to modify bison.simple (assuming correct modification), then I can just click...
  25. Re: latest version of Lex&Yacc and Bison

    Chris,

    thanks for the advise.

    Basically, I am just a summer intern, and my task is "upgrade our lex and yacc libraries".

    Later now, until now, i found out that, the lex and yacc our company...
Results 1 to 25 of 28
Page 1 of 2 1 2





Click Here to Expand Forum to Full Width

Featured