Bug report: Can't construct an expression from a string
Hello. After the latest version of GiNaC was installed on my machine, my programs are no longer able to construct an expression from a string. I am using version 1.3.6-1.fc5 of GiNaC. My operating system is Fedora Core 5, and I am using version 4.1.1 of the gcc compiler. Here is the code that causes the error, which is based on the example code from the GiNaC tutorial section on expression input: #include <ginac/ginac.h> int main() { using namespace GiNaC; symbol x("x"), y("y"); ex e("2*x+sin(y)", lst(x, y)); return 0; } Here is the error message I get when I execute the program main: terminate called after throwing an instance of 'std::runtime_error' what(): syntax error, unexpected ')' at ) Aborted Here is my Makefile: LDFLAGS = -L/usr/lib CPPFLAGS = -g -I/usr/include CC = g++ LIBS = -lcln -lginac main_OBJ = main.o .PHONY: all clean all: $(MAKE) main clean: -rm $(main_OBJ) -rm main -rm -rf ./tmp main: $(main_OBJ) $(CC) $(LDFLAGS) $^ -o $@ $(LIBS) %.o: %.cpp $(CC) -c $(CPPFLAGS) $(CFLAGS) $< Thanks for your help, Mitch Watrous
Hello! On Fri, Jan 19, 2007 at 11:34:15AM -0800, Mitch Watrous wrote:
Hello.
After the latest version of GiNaC was installed on my machine, my programs are no longer able to construct an expression from a string.
I am using version 1.3.6-1.fc5 of GiNaC.
My operating system is Fedora Core 5, and I am using version 4.1.1 of the gcc compiler.
Unless the same bug happens with the _official_ GiNaC 1.3.{5,6} please report it to FC package maintainers. This thread http://www.ginac.de/pipermail/ginac-list/2006-July/000842.html might provide them additional info how to fix their package. Best regards, Alexei -- All science is either physics or stamp collecting.
participants (2)
-
Mitch Watrous
-
varg@theor.jinr.ru