bug-mcsim
[Top][All Lists]
Advanced

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

[bug #65949] Don't install headers with generic names like config.h into


From: Ryan Carsten Schmidt
Subject: [bug #65949] Don't install headers with generic names like config.h into the include directory
Date: Wed, 3 Jul 2024 18:30:41 -0400 (EDT)

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

                 Summary: Don't install headers with generic names like
config.h into the include directory
                   Group: MCSim simulation sofware
               Submitter: ryandesign
               Submitted: Wed 03 Jul 2024 10:30:40 PM UTC
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Wed 03 Jul 2024 10:30:40 PM UTC By: Ryan Carsten Schmidt <ryandesign>
mcsim installs several headers with very generic names directly into the
top-level include directory, such as list.h, random.h, and most
problematically config.h. It is quite possible that another project may want
to include its own config.h but an -I flag for the top-level include directory
is earlier in the compile command than the project's own include directory so
it includes your config.h instead and fails. Please move all of your headers
into a subdirectory named after your project (e.g. mcsim/config.h), or prefix
their names with your project name (e.g. mcsim-config.h).







    _______________________________________________________

Reply to this item at:

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

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

Attachment: signature.asc
Description: PGP signature


reply via email to

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