ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] Новый flex
@ 2015-12-03 20:58 Andrey Cherepanov
  2015-12-03 23:36 ` Dmitry V. Levin
  0 siblings, 1 reply; 4+ messages in thread
From: Andrey Cherepanov @ 2015-12-03 20:58 UTC (permalink / raw)
  To: devel

При локальной сборке openchange сегодня с новым flex проявилось:

libocpf/lex.l: In function 'ocpf_yylex':
<stdout>:223:18: warning: implicit declaration of function 'yyunput' 
[-Wimplicit-function-declaration]
libocpf/lex.l:157:6: note: in expansion of macro 'unput'
       unput(c);
       ^
...
Linking bin/openchangeclient
libocpf.so.2.3: undefined reference to `yyunput'

Как исправлять?

-- 
Andrey Cherepanov
cas@altlinux.org


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [devel] Новый flex
  2015-12-03 20:58 [devel] Новый flex Andrey Cherepanov
@ 2015-12-03 23:36 ` Dmitry V. Levin
  2015-12-04  7:11   ` Andrey Cherepanov
  2015-12-04 11:11   ` Andrey Cherepanov
  0 siblings, 2 replies; 4+ messages in thread
From: Dmitry V. Levin @ 2015-12-03 23:36 UTC (permalink / raw)
  To: ALT Devel discussion list

[-- Attachment #1: Type: text/plain, Size: 558 bytes --]

On Thu, Dec 03, 2015 at 11:58:24PM +0300, Andrey Cherepanov wrote:
> При локальной сборке openchange сегодня с 
> новым flex проявилось:
> 
> libocpf/lex.l: In function 'ocpf_yylex':
> <stdout>:223:18: warning: implicit declaration of function 'yyunput' 
> [-Wimplicit-function-declaration]
> libocpf/lex.l:157:6: note: in expansion of macro 'unput'
>       unput(c);
>       ^
> ...
> Linking bin/openchangeclient
> libocpf.so.2.3: undefined reference to `yyunput'
> 
> Как исправлять?

Если есть
%option nounput
то убрать.


-- 
ldv

[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [devel] Новый flex
  2015-12-03 23:36 ` Dmitry V. Levin
@ 2015-12-04  7:11   ` Andrey Cherepanov
  2015-12-04 11:11   ` Andrey Cherepanov
  1 sibling, 0 replies; 4+ messages in thread
From: Andrey Cherepanov @ 2015-12-04  7:11 UTC (permalink / raw)
  To: devel

04.12.2015 02:36, Dmitry V. Levin пишет:
> On Thu, Dec 03, 2015 at 11:58:24PM +0300, Andrey Cherepanov wrote:
>> При локальной сборке openchange сегодня с 
>> новым flex проявилось:
>>
>> libocpf/lex.l: In function 'ocpf_yylex':
>> <stdout>:223:18: warning: implicit declaration of function 'yyunput' 
>> [-Wimplicit-function-declaration]
>> libocpf/lex.l:157:6: note: in expansion of macro 'unput'
>>       unput(c);
>>       ^
>> ...
>> Linking bin/openchangeclient
>> libocpf.so.2.3: undefined reference to `yyunput'
>>
>> Как исправлять?
> 
> Если есть
> %option nounput
> то убрать.
[cas@basalt openchange]$ git grep nounput | cat
[cas@basalt openchange]$

-- 
Andrey Cherepanov
cas@altlinux.org


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [devel] Новый flex
  2015-12-03 23:36 ` Dmitry V. Levin
  2015-12-04  7:11   ` Andrey Cherepanov
@ 2015-12-04 11:11   ` Andrey Cherepanov
  1 sibling, 0 replies; 4+ messages in thread
From: Andrey Cherepanov @ 2015-12-04 11:11 UTC (permalink / raw)
  To: devel

04.12.2015 02:36, Dmitry V. Levin пишет:
> On Thu, Dec 03, 2015 at 11:58:24PM +0300, Andrey Cherepanov wrote:
>> При локальной сборке openchange сегодня с 
>> новым flex проявилось:
>>
>> libocpf/lex.l: In function 'ocpf_yylex':
>> <stdout>:223:18: warning: implicit declaration of function 'yyunput' 
>> [-Wimplicit-function-declaration]
>> libocpf/lex.l:157:6: note: in expansion of macro 'unput'
>>       unput(c);
>>       ^
>> ...
>> Linking bin/openchangeclient
>> libocpf.so.2.3: undefined reference to `yyunput'
>>
>> Как исправлять?
> 
> Если есть
> %option nounput
> то убрать.
Оказывается, есть альтернативное указание. Убрал
#define        YY_NO_UNPUT

проблема закрыта.

-- 
Andrey Cherepanov
cas@altlinux.org


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-12-04 11:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-03 20:58 [devel] Новый flex Andrey Cherepanov
2015-12-03 23:36 ` Dmitry V. Levin
2015-12-04  7:11   ` Andrey Cherepanov
2015-12-04 11:11   ` Andrey Cherepanov

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git