tbp  | marctes a écrit :
 
 Utilise Visual Studio, il n'y a pas mieux comme IDE
 gcc, je ne l'utilise que pour recompiler au final.
   |  
 
 Installer cygwin
 Project -> Makefile
 Pointer vers GNU Make et le makefile
 Prefixer CC/CXX pour executer cet horrible chose
  Code :
 - #!/usr/bin/perl
 - my $cmdline;
 - foreach (@ARGV) {
 - 	$_ = "\"$_\"" if / /;
 - 	$cmdline = $cmdline . " " . $_;
 - }
 - $cmdline = $cmdline . " -fmessage-length=0 -fdiagnostics-show-location=once";
 - my $errors = 0;
 - open(IN, "$cmdline 2>&1|" ) || die "can't run '$cmdline': $!";
 - while(<IN> ) {
 - 	chomp;
 - 	next if (/ffunction-sections may affect/); # annoying. plonked.
 - 	next if (/vectorized 0 loops in function/); #ditto
 - 	next if length == 0;
 - 	if (/^(\w:[\/\\][^:]+):([0-9]+):\s*([^:]+):(.*)/) {
 -   print_msdev($1, $2, $3, $4);
 -   next;
 - 	}
 - 	if (/^([^:]+):([0-9]+):\s*([^:]+):(.*)/) {
 -   print_msdev($1, $2, $3, $4);
 -   next;
 - 	}
 - 	s/\//\\/g;
 - 	print "$_\n";
 - };
 - close(IN);
 - exit ($errors > 0 ? 1 : 0);
 - sub print_msdev {
 - 	my ($file, $line, $type, $rest) = @_;
 - 	++$errors  if ($type =~/^error/);
 - 	$file =~ s/\//\\/g;
 - 	print "${file}(${line}): ${type}: ${rest}\n";
 - }
 
  |  
 
 ... et hop, gcc est intégré à Visual Studio.
     |