Opened 13 years ago

Closed 13 years ago

#66 closed task (fixed)

error: taking address of temporary

Reported by: nospam@… Owned by: Peter Baumann
Priority: major Milestone:
Component: applications Version: 8.2
Keywords: Cc:
Complexity: Medium

Description

Compile Error with gcc-4.6

/* qtinsert.cc:145:114: error: taking address of temporary [-fpermissive] */
--- ./qlparser/qtinsert.cc.orig	2011-08-27 14:37:45.784616946 +0200
+++ ./qlparser/qtinsert.cc	2011-08-27 14:53:13.673981450 +0200
@@ -143,5 +143,6 @@
         }
 
-        if (!persColl->getCollectionType()->getMDDType()->compatibleWithDomain(&(sourceObj->getDefinitionDomain()))) {
+        r_Minterval str_compatible_widthdomain = sourceObj->getDefinitionDomain();
+        if (!persColl->getCollectionType()->getMDDType()->compatibleWithDomain(&str_compatible_widthdomain)) {
             // free resources
             persColl->releaseAll();

Attachments (1)

rasdaman-gcc46-fpermissive.diff (625 bytes ) - added by nospam@… 13 years ago.
gcc-4.6 fpermissive Patch

Download all attachments as: .zip

Change History (2)

by nospam@…, 13 years ago

gcc-4.6 fpermissive Patch

comment:1 by Dimitar Misev, 13 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.