Re: Fw: Case Insensitive Test

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: Fw: Case Insensitive Test
Дата
Msg-id 20030925222934.F96784@megazone.bigpanda.com
обсуждение исходный текст
Ответ на Re: Fw: Case Insensitive Test  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Fw: Case Insensitive Test
Список pgsql-admin
On Fri, 26 Sep 2003, Tom Lane wrote:

> "Chad R. Larson" <chad@eldocomp.com> writes:
> > I suspect that among the conformance switches, you can find a combination
> > you like:
>
> I've been through them.  None of 'em turn off // comments.  Or #-sign

On at least some versions of gcc it looks like --std=c89 turns them off
(my system's 3.2 does and so does another's 2.95.4)

I used the little program:
#include <stdio.h>

int main() {
 int a1 = 5 //*2*/
  +3;
 printf("%d\n", a1);
}

Without the option, 8 is printed, with it 1 is printed.

We don't appear to compile with the option on my system however. It looks
like differences between the includes in test programs in configure and
when actually building cause errors. In my case struct addrinfo isn't
found in configure, but it is found when actually building (due indirectly
to an include of stdio.h) causing redefinition errors.

В списке pgsql-admin по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Fw: Case Insensitive Test
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Fw: Case Insensitive Test