octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #41658] Multiple "utils.h" files cause build f


From: Michael C. Grant
Subject: [Octave-bug-tracker] [bug #41658] Multiple "utils.h" files cause build failures on case-insensitive file systems
Date: Fri, 21 Feb 2014 14:54:09 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.117 Safari/537.36

URL:
  <http://savannah.gnu.org/bugs/?41658>

                 Summary: Multiple "utils.h" files cause build failures on
case-insensitive file systems
                 Project: GNU Octave
            Submitted by: mcgrant
            Submitted on: Fri 21 Feb 2014 02:54:08 PM GMT
                Category: GUI
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Build Failure
                  Status: None
             Assigned to: None
         Originator Name: Michael C. Grant
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Mac OS

    _______________________________________________________

Details:

I've started getting errors like this when compiling the gui-release branch:

src/main-window.cc:275:9: error: use of undeclared identifier
'valid_identifier'
  if (! valid_identifier (function_name.toStdString ()))

The cause is the presence of two files named "utils.h":

libinterp/corefcn/utils.h
libgui/graphics/Utils.h

This can be rectified temporarily by replacing

#include "utils.h"

with

#include "corefcn/utils.h"

but I suspect that a proper solution involves renaming the newly added Utils.h
file.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?41658>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]