summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-01-26 10:57:53 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-01-26 10:57:53 +0200
commit4eba3904a150a9ba6d718e3b81c3b0e582166031 (patch)
treef7608606f8b64657c49b61d44522a2c62a497e7f
parent006dd946e550a16004d4b7f62e9e026e4504cd23 (diff)
Make #pragma once work
-rw-r--r--bug/list8
-rw-r--r--reference/bug/list12
2 files changed, 12 insertions, 8 deletions
diff --git a/bug/list b/bug/list
index 6bd3c62..7cb8d7d 100644
--- a/bug/list
+++ b/bug/list
@@ -1,13 +1,5 @@
! Document MSSQL stored procedure call support [doc,mssql]
-! Warning on #pragma once in the main file
-
- Doesn't seem like there is a clean way to disable this warning in GCC
- (e.g., no access to the GCC's data structures to override the handler
- or some such).
-
- The only feasible idea so far is to filter the diagnostics.
-
- Document character encoding used to return text for each database [doc]
! Copyright update [doc]
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