I'm so stupid. That was it. Thanks for shooting in the dark :)
Cheers.
Type: Posts; User: OriginalCopy
I'm so stupid. That was it. Thanks for shooting in the dark :)
Cheers.
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,...
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...
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):...
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...
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...
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...
Never mind, it is in 4.14 Generating Prerequisites Automatically
Thanks a lot.
What should I look for in the manual, in regards to $(TEST_SRCS:.c=)?
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) ...
?
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"