bug-cssc
[Top][All Lists]
Advanced

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

[Bug-cssc] [bug #65703] use of undeclared identifier 'abort', 'atoi', 'g


From: Ryan Carsten Schmidt
Subject: [Bug-cssc] [bug #65703] use of undeclared identifier 'abort', 'atoi', 'getenv'
Date: Mon, 6 May 2024 19:38:20 -0400 (EDT)

URL:
  <https://savannah.gnu.org/bugs/?65703>

                 Summary: use of undeclared identifier 'abort', 'atoi',
'getenv'
                   Group: GNU CSSC
               Submitter: ryandesign
               Submitted: Mon 06 May 2024 11:38:20 PM UTC
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Mon 06 May 2024 11:38:20 PM UTC By: Ryan Carsten Schmidt <ryandesign>
cssc 1.4.1 fails to build on OS X 10.11.6:


fileiter.cc:156:3: error: use of undeclared identifier 'abort'
                abort();
                ^
1 error generated.



sf-get.cc:51:17: error: use of undeclared identifier 'getenv'
  bool bDebug = getenv("CSSC_SHOW_SEQSTATE") ? true : false;
                ^
1 error generated.



sf-get2.cc:435:7: error: use of undeclared identifier 'getenv'
  if (getenv("CSSC_SHOW_SEQSTATE"))
      ^
1 error generated.



sf-get3.cc:111:29: error: use of undeclared identifier 'atoi'
          if (user_is_group_member(atoi(authorized_user.c_str())))
                                   ^
1 error generated.


The fix is to #include <cstdlib> in these files, as in this patch:

https://github.com/macports/macports-ports/blob/00f368605345748a25f18f2c5eceeb5590653a15/devel/cssc/files/cstdlib.patch








    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?65703>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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