Search:

Type: Posts; User: OriginalCopy

Search: Search took 0.01 seconds.

  1. Replies
    7
    Views
    2,097

    I'm so stupid. That was it. Thanks for shooting...

    I'm so stupid. That was it. Thanks for shooting in the dark :)

    Cheers.
  2. Replies
    7
    Views
    2,097

    The code is available via svn: svn checkout...

    The code is available via svn:
    svn checkout http://googlecode.com/svn/trunk/ ypl-read-only

    Now keep in mind that the code is pretty immature, as such there's not much error checking/reporting,...
  3. Replies
    7
    Views
    2,097

    1. The lemon guys are pretty clear about it: a...

    1. The lemon guys are pretty clear about it: a parser is an opaque type (as such, it should be a void*)
    2. I already did that, it results in the same warning:


    I've been scratching my head...
  4. Replies
    7
    Views
    2,097

    gcc warning regarding void*

    Hello folks. While not a complete beginner in C, I still don't understand what causes the warning described below. Here's the relevant piece of code (from the lemon parser generator, part of sqlite):...
  5. Solved. The solution was ...

    Solved. The solution was


    1 set(parser_odir "${CMAKE_CURRENT_BINARY_DIR}/")
    2 include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${parser_odir})
    3
    4 #The right way to me...
  6. Cmake - Autom. regenerate a file using an external tool and custom target upon "make"

    Hi. I'm working on a project and I use cmake for generating "projects", that is, under Linux, a Makefile.

    I also use an external tool (re2c) to generate the scanner, and an included tool to...
  7. GNU make - generating dynamic dependencies

    I can't generate dependencies automatically like on line 20 in the
    makefile below because the variable $@ does not yet exist at that
    point. How could I overcome this problem? "pattern rule...
  8. Replies
    5
    Views
    4,098

    Never mind, it is in 4.14 Generating...

    Never mind, it is in 4.14 Generating Prerequisites Automatically
  9. Replies
    5
    Views
    4,098

    Thanks a lot. What should I look for in the...

    Thanks a lot.

    What should I look for in the manual, in regards to $(TEST_SRCS:.c=)?
  10. Replies
    5
    Views
    4,098

    Oh I am so dumb. How could I make such that it...

    Oh I am so dumb. How could I make such that it replaces each .c by "tests/<filename>" and create a target for it automagically, instead of me having to


    encryption/a.c:
    $(CC) ...
    ?
  11. Replies
    5
    Views
    4,098

    Simple GNU Makefile

    This is a simple Makefile

    CFLAGS = -Wall
    CC = gcc

    TESTS := $(wildcard encryption/*.c)

    tests: $(TESTS)
    echo "TESTS are compiled under tests/"
    echo "TODO: run the testunit"
Results 1 to 11 of 11