Šī lapa labāk darbojas, ja pārlūkam ir iespējots JavaScript.
Sākums
Izpētīt
Palīdzība
Pierakstīties
visus
/
dds
Vērot
1
Pievienot zvaigznīti
0
Atdalīts
0
Kods
Problēmas
0
Izmaiņu pieprasījumi
0
Laidieni
0
Vikivietne
Aktivitāte
Nevar pievienot vairāk kā 25 tēmas
Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
682
Revīzijas
6
Atzari
Koks:
88c92f1589
better_mac_paths
compile_link_flags
default_compile_flags
gnu_extensions
mac_paths
main
Atzari
Tagi
${ item.name }
Izveidot atzaru
${ searchTerm }
no '88c92f1589'
${ noResults }
dds
/
tests
/
projects
/
compile_deps
/
src
/
app.main.cpp
app.main.cpp
94B
Neapstrādāts
Parastais skats
Vēsture
Attach mtimes to individual deps, not files. Fixes a miscompile (!!) Fix bug: - Assume X and Y depend on Z - X and Y both compile clean. - A change is made to Z - X and Y are now "out-of-date," and marked to compile. - The change causes a failure in X, but Y still compiles clean. - Because X compiles clean, the database will be updated and store the new mtime of Z! - Attempting to compile again, the mtime of Z will not be considered "changed" since the last compile. - X depends on Z, but Z is not marked "changed," and X will not be recompiled, even though it is still in a dirty state! - Linking of X and Y produces wild results. UB. ORD NDR. Badness. The fix is to have the edges in the graph between inputs and outputs store the mtime of the input, rather than to store that mtime on the file itself. Thus, each individual relationship between inputs and outputs will track the "outdated-ness" of themselves. This also adds a test which can correctly reproduce the issue in absense of the fix.
pirms 5 gadiem
1
2
3
4
5
#include "./foo.hpp"
#include <cmath>
int main() { return std::abs(value_1() - value_2()); }