[cscore, wpilibcExamples] Use double-quote includes for wpi/ (#8346)

Use ERR and WARN in cscore to avoid conflict with Windows headers.
This commit is contained in:
Peter Johnson
2025-11-08 16:58:51 -08:00
committed by GitHub
parent fc4e922206
commit 5c9c45fadb
226 changed files with 868 additions and 951 deletions

View File

@@ -4,8 +4,8 @@
#pragma once
#include <wpi/commands2/Command.hpp>
#include <wpi/commands2/CommandHelper.hpp>
#include "wpi/commands2/Command.hpp"
#include "wpi/commands2/CommandHelper.hpp"
/**
* An example command.

View File

@@ -4,8 +4,8 @@
#pragma once
#include <wpi/commands2/CommandHelper.hpp>
#include <wpi/commands2/InstantCommand.hpp>
#include "wpi/commands2/CommandHelper.hpp"
#include "wpi/commands2/InstantCommand.hpp"
// NOTE: Consider using this command inline, rather than writing a subclass.
// For more information, see:

View File

@@ -4,8 +4,8 @@
#pragma once
#include <wpi/commands2/CommandHelper.hpp>
#include <wpi/commands2/ParallelCommandGroup.hpp>
#include "wpi/commands2/CommandHelper.hpp"
#include "wpi/commands2/ParallelCommandGroup.hpp"
// NOTE: Consider using this command inline, rather than writing a subclass.
// For more information, see:

View File

@@ -4,7 +4,7 @@
#include "ReplaceMeParallelDeadlineGroup.hpp"
#include <wpi/commands2/InstantCommand.hpp>
#include "wpi/commands2/InstantCommand.hpp"
// NOTE: Consider using this command inline, rather than writing a subclass.
// For more information, see:

View File

@@ -4,8 +4,8 @@
#pragma once
#include <wpi/commands2/CommandHelper.hpp>
#include <wpi/commands2/ParallelDeadlineGroup.hpp>
#include "wpi/commands2/CommandHelper.hpp"
#include "wpi/commands2/ParallelDeadlineGroup.hpp"
// NOTE: Consider using this command inline, rather than writing a subclass.
// For more information, see:

View File

@@ -4,8 +4,8 @@
#pragma once
#include <wpi/commands2/CommandHelper.hpp>
#include <wpi/commands2/ParallelRaceGroup.hpp>
#include "wpi/commands2/CommandHelper.hpp"
#include "wpi/commands2/ParallelRaceGroup.hpp"
// NOTE: Consider using this command inline, rather than writing a subclass.
// For more information, see:

View File

@@ -4,8 +4,8 @@
#pragma once
#include <wpi/commands2/CommandHelper.hpp>
#include <wpi/commands2/SequentialCommandGroup.hpp>
#include "wpi/commands2/CommandHelper.hpp"
#include "wpi/commands2/SequentialCommandGroup.hpp"
// NOTE: Consider using this command inline, rather than writing a subclass.
// For more information, see:

View File

@@ -4,7 +4,7 @@
#pragma once
#include <wpi/commands2/SubsystemBase.hpp>
#include "wpi/commands2/SubsystemBase.hpp"
class ReplaceMeSubsystem2 : public wpi::cmd::SubsystemBase {
public: