Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Sep 2017 23:19:45 +0800
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        Christoph Moench-Tegeder <cmt@burggraben.net>
Cc:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r450102 - head/databases/postgresql-odbc
Message-ID:  <2FF1E931-DF56-4930-AAFA-0B39065DDA0D@FreeBSD.org>
In-Reply-To: <20170919100843.GA1552@elch.exwg.net>
References:  <201709190506.v8J563c8052058@repo.freebsd.org> <20170919100843.GA1552@elch.exwg.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Fixed at r450132.

> On Sep 19, 2017, at 6:08 PM, Christoph Moench-Tegeder =
<cmt@burggraben.net> wrote:
>=20
> ## Muhammad Moinur Rahman (bofh@FreeBSD.org):
>=20
>> Log:
>>  databases/postgresql-odbc: Update version 09.06.0310=3D>09.06.0500
>=20
> Unfortunately, this breaks on 10.3:
> win_unicode.c:81:21: error: use of undeclared identifier 'u'
>                char16_t *c16dt =3D u"a";
>=20
> That's from upstream commit
> =
https://git.postgresql.org/gitweb/?p=3Dpsqlodbc.git;a=3Dcommit;h=3D5eeb934=
5c7f7c67fd1530db779e188e40ba73273
>=20
> The "u" modifier was introduced in C11, which only newer clang (e.g. =
clang40)
> use by default. Fortunately, one can request C11 support from the old
> clang in FreeBSD 10: Just add "CFLAGS+=3D -std=3Dc11" and for good =
measure
> on clang-less platforms add "compiler:c11" to USES. That fixed the =
build
> for me.
>=20
> Regards,
> Christoph
>=20
> --=20
> Spare Space




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2FF1E931-DF56-4930-AAFA-0B39065DDA0D>