|author||Boris Kolpackov <email@example.com>||2015-01-26 10:57:53 +0200|
|committer||Boris Kolpackov <firstname.lastname@example.org>||2015-01-26 10:57:53 +0200|
Make #pragma once work
2 files changed, 12 insertions, 8 deletions
@@ -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
@@ -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