parser

Написать ответ на текущее сообщение

 

 
   команды управления поиском

Parser 3.1.4 не собирается под FreeBSD 5.4 STABLE, Parser 3.1.5 собирается...

dev 31.10.2005 17:08

...но не работает MySQL-драйвер, ошибка <no type>.

При компиляции Parser 3.1.4 все вываливается:
In file included from ../../src/include/pa_request.h:17,
from compile_tools.h:16,
from compile.y:32:
../../src/include/pa_stack.h: In member function `void Stack<T>::push(T)':
../../src/include/pa_stack.h:23: error: there are no arguments to `count' that depend on a template parameter, so a declaration of `count' must be available
../../src/include/pa_stack.h:23: error: (if you use `-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
../../src/include/pa_stack.h: In member function `T Stack<T>::pop()':
../../src/include/pa_stack.h:31: error: there are no arguments to `get' that depend on a template parameter, so a declaration of `get' must be available
../../src/include/pa_stack.h: In member function `T Stack<T>::top_value()':
../../src/include/pa_stack.h:39: error: there are no arguments to `get' that depend on a template parameter, so a declaration of `get' must be available
../../src/include/pa_stack.h: In member function `void Stack<T>::wipe_unused()':
../../src/include/pa_stack.h:44: error: `fused' undeclared (first use this function)
../../src/include/pa_stack.h:44: error: (Each undeclared identifier is reported only once for each function it appears in.)
../../src/include/pa_stack.h:45: error: `felements' undeclared (first use this function)
*** Error code 1

Stop in /.1/srcs/DIST/parser3/src/main.
*** Error code 1

Stop in /.1/srcs/DIST/parser3/src.
*** Error code 1

Stop in /.1/srcs/DIST/parser3.
Существует ли какое-то решение этой проблемы:
заставить работать FreeBSD 5.4 + Parser 3.1.4 + MySQL 4.1.14?
Стоит ли попробовать использовать другие СУБД, например, PostgreSQL?