User forums > Nightly builds

The 16 December 2018 build (11530) is out.

<< < (3/3)

simoneadore:
In code blocks to solve the problem, I had to rename all the header files from * .H to * .h and it works.

oBFusCATed:
I see. If you can replicate it in a minimal sample project it would be good if you can log a bug report on our tickets page in sf.net.

ollydbg:

--- Quote from: simoneadore on December 19, 2018, 10:57:02 pm ---Because in codeblocks you only see the lowercase * .h header files, and in clion see me both * .h and * .H?

--- End quote ---
In the source file: plugins\codecompletion\systemheadersthread.cpp

--- Quote ---wxDirTraverseResult HeaderDirTraverser::OnFile(const wxString& filename)
{
    // HeaderDirTraverser is used in a worker thread, so call TestDestroy() as often as it can to
    // quickly terminate the thread
    if (m_Thread->TestDestroy())
        return wxDIR_STOP;

    AddLock(true); // true means we are adding a file

    wxFileName fn(filename);
    if (!fn.HasExt() || fn.GetExt().GetChar(0) == _T('h'))
    {
        fn.MakeRelativeTo(m_SearchDir);
        wxString header(fn.GetFullPath());
        header.Replace(_T("\\"), _T("/"), true); // Unix style
        m_Headers.insert(header);
    }

    return wxDIR_CONTINUE;
}

--- End quote ---
It looks like we need a add another check for the _T('H') ?

oBFusCATed:
If I were you I'd use the same mechanism used by the project tree or the compiler to separate headers from sources.

simoneadore:
Thanks for the tip, and sorry if I did not answer before, congratulations again for your work.

Cordiali Saluti,

Simone

Navigation

[0] Message Index

[*] Previous page

Go to full version