You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@madlib.apache.org by "Rahul Iyer (JIRA)" <ji...@apache.org> on 2016/10/25 18:33:59 UTC

[jira] [Created] (MADLIB-1030) Incorrect header guard/#define

Rahul Iyer created MADLIB-1030:
----------------------------------

             Summary: Incorrect header guard/#define
                 Key: MADLIB-1030
                 URL: https://issues.apache.org/jira/browse/MADLIB-1030
             Project: Apache MADlib
          Issue Type: Bug
            Reporter: Rahul Iyer


{code}
.../incubator-madlib/src/ports/postgres/dbconnector/main.cpp:12:
.../incubator-madlib/src/utils/MallocAllocator.hpp:7:9: warning: 'MADLIB_MALLOC_ALLOCATOR_HPP' is used as a header
      guard here, followed by #define of a different macro [-Wheader-guard]
#ifndef MADLIB_MALLOC_ALLOCATOR_HPP
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
.../incubator-madlib/src/utils/MallocAllocator.hpp:8:9: note: 'MADLIB_NALLOC_ALLOCATOR_HPP' is defined here; did you
      mean 'MADLIB_MALLOC_ALLOCATOR_HPP'?
#define MADLIB_NALLOC_ALLOCATOR_HPP
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)