Geany has nothing to do with compilation, all Geany does is run the compile command. The compiler operates on the files on disk, nothing to do with whats open in Geany, and what files it reads/does not read is up to the compiler. If you have saved the modifications of both the include and cpp file thats all Geany can do.
Its difficult to say what you have done to confuse the compiler, but possibly you have created a precompiled header for the include file by compiling it by itself. This makes the compiler ignore changes in the header, and kind of sounds like your problem. Delete the `.gch` (assuming gcc compiler) file if it exists and don't compile headers, they are intended to be included, not compilable by themselves. -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/3533#issuecomment-1654836873 You are receiving this because you are subscribed to this thread. Message ID: <geany/geany/issues/3533/[email protected]>
