From 4eba3904a150a9ba6d718e3b81c3b0e582166031 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 26 Jan 2015 10:57:53 +0200 Subject: Make #pragma once work --- reference/bug/list | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'reference') diff --git a/reference/bug/list b/reference/bug/list index ba7819e..826c701 100644 --- a/reference/bug/list +++ b/reference/bug/list @@ -1,3 +1,15 @@ ++ Warning on #pragma once in the main file + + Current implementation changes libcpp's internal state to make the logic + work and filters the warning via libcpp's diagnostics callback. + + An alternative approach would be to actually #include the header into + stdin rather than sourcing, just it like we do for the at-once mode. + This would require filtering stderr and removing all the "Included + from ..." lines (good we can choose the file id so can work around + translation). Also, the rather non-trivial header inclusion logic + (odb/include.?xx) will have to be adjusted. See also paper notes. + + Statement name truncation in PostgreSQL [pgsql] There seems to be a limit on the prepared statement name in PG. The result -- cgit v1.1